OpenVZ Forum


Home » General » Support » *SOLVED* openvpn in VE / Debian - sarge
Re: openvpn in VE / Debian - sarge [message #10389 is a reply to message #10318] Sat, 17 February 2007 02:28 Go to previous message
bknip is currently offline  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
 
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Time difference between hwnode and vps
Next Topic: *SOLVED* ETH Device problem in VPS
Goto Forum:
  


Current Time: Wed Jul 10 11:26:47 GMT 2024

Total time taken to generate the page: 0.03112 seconds