OpenVZ Forum


Home » General » Support » Openvpn Internet issue
Openvpn Internet issue [message #36092] Thu, 21 May 2009 08:26 Go to previous message
sammy08 is currently offline  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





 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2 network interfaces, 4 addresses 3 virtual servers
Next Topic: How will OpenVZ survive?
Goto Forum:
  


Current Time: Sun Sep 21 10:10:10 GMT 2025

Total time taken to generate the page: 0.07358 seconds