Ok, i have the VPS accessing the internet. I executed
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 72.55.179.7
72.55.179.7 being my host. Now all VPS have access to the internet. However, the internet can not access the VPS.
Any ideas?
I've also noticed the following while restarting the network
[[email]root@cl-t091-040cl[/email] sysconfig]# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface venet0:
Determining IP information for venet0... failed.
[FAILED]
however, i have enabled ip_forward in the /etc/sysctl.conf file.
[Updated on: Thu, 04 October 2007 16:24]
Report message to a moderator