Contact SalesSitemapCustomer Login

TUN/TAP device with OpenVPN or Hamachi

If you try to use a VPN program like OpenVPN or Hamachi on your VPS, you will likely receive this error:

Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)

This is because the TUN/TAP device is set up by default on your VPS.

# mkdir -p /dev/net
# mknod /dev/net/tun c 10 200
# chmod 600 /dev/net/tun

If you are still unable to use the TUN/TAP device, log into the Control Panel and open a support ticket, including any error messages received After this is done, it should work fine.

Please note that reinstalling your VPS will remove the TUN/TAP device.

Retrieved from "http://wiki.vpslink.com/TUN/TAP_device_with_OpenVPN_or_Hamachi"
Recent Changes | RSS RSS Feed