If you are running on our OpenVZ platform and wish to use a VPN you will need to enable TUN/TAP on your container.
To enable, login to the control panel and select the virtual machine in question. On the network tab, change TUN/TAP to “On”.
You can test by connecting to your virtual machine and executing the following:
If the output is:
cat: /dev/net/tun: File descriptor in bad state
then TUN/TAP is enabled correctly.
What is TUN/TAP?
In computer networking, TUN and TAP are virtual network kernel devices. Being network devices supported entirely in software, they differ from ordinary network devices which are backed up by hardware network adapters.