Changes
no edit summary
OpenVZ supports VPN inside a VE via kernel TUN/TAP module and device.
To allow VE #101 to use the TUN/TAP device the following steps should be takendone:
Make sure the '''tun ''' module has been already loaded on the hardware node:
<pre>
# lsmod | grep tun
You can also add it into /etc/modules.conf to make sure it will be loaded on every reboot automatically.
Allow your VE to use the tun/tap device:
<pre>
</pre>
And create the character device in file inside the VE:
<pre>
# vzctl exec 101 mkdir -p /dev/net
</pre>
=== Configure Configuring VLAN inside VE ===After the configuration steps above are done it is possible to use TUN/TAN devices inside VE and use VPN software working with TUN/TAPinside VE.
The following software can be used for VPN with TUN/TAP:
* [http://vtun.sourceforge.net Virtual TUNnel]
* [http://openvpn.sourceforge.net OpenVPN]