OpenVZ Forum


Home » General » Support » my 1st VPS doesnt see the Internet !!
Re: my 1st VPS doesnt see the Internet !! [message #46258 is a reply to message #46243] Sat, 05 May 2012 18:49 Go to previous messageGo to previous message
dzimi is currently offline  dzimi
Messages: 22
Registered: December 2008
Junior Member
Your setup won't work. Use private IP address for your VPS and then create a SNAT or MASQ for your private IP.

Like:

iptables -A POSTROUTING -t nat -o eth0 -s YOUR_PRIVE_IP -j SNAT --to YOUR_PUBLIC_IP

don't forget to switch ip_forwarding to 1
 
Read Message icon4.gif
Read Message
Read Message
Previous Topic: which kernel to install
Next Topic: how to prevent vps from abusing HN resources !!
Goto Forum:
  


Current Time: Tue Oct 08 20:08:53 GMT 2024

Total time taken to generate the page: 0.05178 seconds