Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

VPN via the TUN/TAP device

156 bytes added, 17:28, 6 July 2009
solution to NAT problem
== 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 The following software can be used for VPN with TUN/TAP:* Virtual TUNnel (http://vtun.sourceforge.net)* OpenVPN (http://openvpn.sourceforge. net) == Troubleshooting ==If NAT is needed within the VE, this error will occuron attempts to use NAT:
# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE
Perhaps iptables or your kernel needs to be upgraded.
The following software can be used for VPN with TUN/TAPsolution is given here:* Virtual TUNnel ( http://vtunkb.sourceforgeparallels.net)com/en/5228* OpenVPN (Also see page 69-70 of:  http://openvpndownload.sourceforgeopenvz.org/doc/OpenVZ-Users-Guide.net)pdf
== External links ==
5
edits