Login to the main node
First you have to check mod tun
by
#lsmod | grep tun
if you do not see anything then run
#modprobe tun
now again run
#lsmod | grep tun
you will see something like
tun 47872 0
#vzctl set VPSID --devices c:10:200:rw --save
#vzctl set VPSID --capability net_admin:on --save
#vzctl exec VPSID mkdir -p /dev/net
#vzctl exec VPSID mknod /dev/net/tun c 10 200
#vzctl exec VPSID chmod 600 /dev/net/tun
That's it.
:)
Monday, September 28, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment