NetCloud Engine (formerly Pertino): Will NetCloud Engine work with Virtual OpenVZ Server (Parallels)?

Summary

This article describes the steps necessary to set up NetCloud Engine to work with Virtual OpenVZ server (Parallels).


Configuration

OpenVZ supports VPN inside a container via kernel TUN/TAP module and device. You must make TUN/TAP device available inside a container:

sudo vi /etc/modules (add “tun” to the end)
:wq Save and Quit vi
sudo reboot This will stop all containers

Granting a container access to TUN/TAP:

CTID=container id
vzctl set $CTID --devnodes net/tun:rw --save
vzctl set $CTID --devices c:10:200:rw --save
vzctl set $CTID --capability net_admin:on --save
vzctl exec $CTID mkdir -p /dev/net
vzctl exec $CTID mknod /dev/net/tun c 10 200
vzctl exec $CTID chmod 600 /dev/net/tun


Category: NetCloud Engine

← FAQs