Re: openvpn in VE / Debian - sarge [message #10389 is a reply to message #10318] |
Sat, 17 February 2007 02:28 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
bknip
Messages: 4 Registered: February 2007
|
Junior Member |
|
|
Well, the solution seems to be obvious.
Of course the tun device has to be activated on the HN before giving access to the VE.
So first on HN:
Quote: |
# mkdir -p /dev/net
# mknod /dev/net/tun c 10 200
# chmod 600 /dev/net/tun
|
and after that on VE
Quote: |
# vzctl set 1001 --devices c:10:200:rw --save
# vzctl exec 1001 mkdir -p /dev/net
# vzctl exec 1001 mknod /dev/net/tun c 10 200
# vzctl exec 1001 chmod 600 /dev/net/tun
|
Now everything works!
Burkhard
|
|
|