|
|
Re: my 1st VPS doesnt see the Internet !! [message #46259 is a reply to message #46258] |
Sun, 06 May 2012 14:42 |
HuMaN-BiEnG
Messages: 10 Registered: May 2012 Location: Egypt
|
Junior Member |
|
|
dzimi wrote on Sat, 05 May 2012 14:49Your 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
Hello dzimi,
first thank you man for your kind reply
why it wont work ?
is it because itsnt allowed to use HN IP in a vps ?
should i have to use SNAT ? because we just want to use public IP addresses for each VPS ?
ps, i have already enabled ip forwarding in the main HN
please accept my best regards,,
|
|
|