Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

VPN via the TUN/TAP device

3 bytes added, 23:05, 28 August 2012
Granting container an access to TUN/TAP
vzctl set 101 --devnodes net/tun:rw --save
vzctl set 101 --devices c:10:200:rw --save
vzctl set 101 --capability net_admin:on --save
vzctl exec 101 mkdir -p /dev/net
vzctl exec 101 chmod 600 /dev/net/tun
1
edit