Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

VPN via the TUN/TAP device

321 bytes added, 17:03, 6 July 2009
NAT broken
== Configuring VPN inside container ==
After the configuration steps above are done it is possible to use VPN software working with TUN/TAP inside
container just like on a usual standalone linux box-- as long as NAT is not needed. If NAT is needed within the VE, this error will occur:  # iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE iptables v1.4.3.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
The following software can be used for VPN with TUN/TAP:
* Virtual TUNnel (http://vtun.sourceforge.net)
* OpenVPN (http://openvpn.sourceforge.net)
 
== External links ==
5
edits