Posts

Showing posts with the label openvz

How to enable TUN/TAP for OpenVZ server

SolusVM requires the TUN/TAP kernel module to be loaded for the TUN/TAP feature to work properly. To enable the TUN/TAP kernel module run this on the host node: Code: Select all #modprobe tun To check if it’s loaded run: Code: Select all # lsmod | grep tun If you see an output the module is loaded i.e: Code: Select all tun                    17536  0 Too automatically load the module on boot run these commands on the host node: Code: Select all echo modprobe tun >> /etc/rc.modules chmod +x /etc/rc.modules OpenVZ supports VPN inside a container via kernel TUN/TAP module and device.  To allow VPS #205 to use the TUN/TAP device the following should be done: #205 – VPS id. Replace 205 with your VPS id. Make sure the tun module has already loaded on the Node. [root@Node /]#  lsmod | grep tun If not listed, then load the tun...