I am trying to set up my Ubuntu box as a router/gateway for my other computers. I have 2 network cards in the Ubuntu box. eth0 is for the LAN and eth1 is for the WAN (DSL connection). I have found several How-Tos and have tried most of them. The one that has come closest to working is at http://www.mehrdust.com/archives/con...ternet-gateway . The Ubuntu box can access the internet with no problems. However my other computers have trouble with most web sites. I can ping all websites from the other computers. I have tried several browsers on the other computers and I can get to Google, Youtube and some other sites. But I can not get to Yahoo, msn, ...
I have uncommented the following line in the file /etc/sysctl.conf
I have changed the iptables as follows:
sudo iptables -A FORWARD -o ppp0 -i eth0 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -t nat -F POSTROUTING
sudo iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
eth0 is set up as
The browsers appear to be trying to get to the websites but eventually time out. It could be that there are certain elements on the web sites that can not load.
Any suggestions ?