OpenVZ Forum - RDF feed
type: channel
items: OpenVPN + iptable with masquerade for secure wifi connection in VE
items: Re: OpenVPN + iptable with masquerade for secure wifi connection in VE

OpenVPN + iptable with masquerade for secure wifi connection in VE
type: item
description: Hi, I want to set up on a openvz ve (with proxmox panel) a OpenVPN server to secure any hotspot wifi connection. Like thats : [user] ==> [ve (ubuntu jaunty 64bit)] ==> [Internet] So I set up a ve on an ip 91.xx.xx.xx with full internet access, and installing openvpn And then to open the internet acces for vpn user i had to add this iptable : iptables -t nat -A POSTROUTING -s '10.8.0.0/24' -o 91.xx.xx.xx -j MASQUERADE But i cant use nat ... said that's module cant be loaded in my vm ... So how can i add this rule ? By adding modules in iptable section of /etc/vz.conf ? (witch one ?) Or adding this rule on the host ? it's a debian lenny with proxmox, and i dont find how to add this ... Have you any ideas ? Greats, Romain Fluttaz //In Attachments the process i've follow to set up my openvpn server in ubuntu jaunty 9.04 & see : http://www.proxmox.com/forum/showthread.php?t=1478
creator: r.fluttaz
date: 2009-05-21T13:16:36-00:00

Re: OpenVPN + iptable with masquerade for secure wifi connection in VE
type: item
description: Make sure needed iptables modules are loaded on the host system _before_ you start /etc/init.d/vz service.
creator: kir
date: 2009-05-21T19:13:08-00:00