Iodined: Open_tun: /dev/net/tun: Operation Not Permitted

Home » CentOS » Iodined: Open_tun: /dev/net/tun: Operation Not Permitted
CentOS 6 Comments

Hi guys, I got error when executing iodined at my vps:

$ sudo iodined -f -P test1 192.168.0.1 localhost iodined: open_tun: /dev/net/tun: Operation not permitted: Operation not permitted

so i check
-. iodine version:
iodine IP over DNS tunneling server version: 0.5.1 from 2009-03-21

-. uname
2.6.32-042stab068.8 #1 SMP Fri Dec 7 17:06:14 MSK 2012 i686 i686 i386 GNU/Linux

-. ls -l /dev/net/tun

rw-rw-rw- 1 root root 10, 200 May 5 00:24 /dev/net/tun

how can i resolve this problem? thanks in advance.

regards,

marco

6 thoughts on - Iodined: Open_tun: /dev/net/tun: Operation Not Permitted

  • Specifically you host is supplying you with an openVZ or Virtuozzo VPS. This is not a fully virtualised system so you will not have access to a lot of devices.

  • Am 10.05.2014 um 15:28 schrieb Andrew Holway :

    check your virtualization with

    $ virt-what

  • result:
    openvz

    so there is no any work around to access /dev/net/tun in openvz, isn’t it?

  • Ask your hosting provider; tun/tap access is granted on a container-by-container basis and they can easily enable it for you if they wish; it will require your container being stopped and then restarted but it’s trivial for them to do.

    John