Select Currency:
 
Support

Switchlink Virtual Servers

How can I get OpenVPN and TUN/TAP to work on Virtuozzo/OpenVZ Linux VPS

Some work needs to be completed by support on the Hardware Node and some on your VPS, so please contact support. Below are the instructions for both parties.

Allow your container to use the tun/tap device by running the following commands on the host node:

[text]vzctl set 101 –devices c:10:200:rw –save
vzctl set 101 –capability net_admin:on –save[/text]

And create the character device file inside the container (execute the following on the host node):

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

Post a Comment

Your email is never shared. Required fields are marked *

*
*