Openvpn Internet issue [message #36092] |
Thu, 21 May 2009 08:26  |
sammy08
Messages: 21 Registered: April 2008
|
Junior Member |
|
|
Hello Folks,
I have Openvpn installed in a Ubuntu 8.10 VE. I can ping the server and browse to the server vpn IP address from my Windows XP client but there is no internet.
My configuration is as follows:
Server IP: 1.2.3.4 (real IP replaced for security reasons)
Server VPN Network: 10.50.50.0/24
Server VPN IP: 10.50.50.1
XP Client VPN IP: 10.50.50.6
Searching around I found that I needed to do some kind of masquerading so I tried in the VE:
root@openvn2:~# iptables -t nat -A POSTROUTING -i 10.50.50.0/24 -o venet0 -j SNAT --to 1.2.3.4
FATAL: Could not load /lib/modules/2.6.18-92.1.18.el5.028stab060.8PAE/modules.dep: No such file or directory
iptables v1.4.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Would this be help to my problem?
http://wiki.openvz.org/Using_NAT_for_container_with_private_ IPs
The container is using a public IP.
Any help would be most appreciative.
Thanks
Sammy
|
|
|