Hi All
I an trying to share internet access using NAT. On the server side I have set ip_forward to 1 and added MASQUERADE in iptables script. And on the client side I have configured server ip as gateway and using same dns servers as specified on the server. But when I do tracert (windows client) it just hits gateway machine and get Request Timed Out. SOS.
Regards
Joel 9820533294
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !
hi there..
I hope You have done the basic things required for Natting.. Just the gateway u have metioned on your server... -A POSTROUTING -o ppp0 -j MASQUERADE (note ppp0/eth0 depends on tyhe connection type you have) -A FORWARD -s 192.168.1.0/255.255.255.0 -j ACCEPT -A FORWARD -d 192.168.1.0/255.255.255.0 -j ACCEPT -A FORWARD -s ! 192.168.1.0/255.255.255.0 -j DROP
for ur windows problem just check wht gateway address to have mentioned there ... and also mention the same DNS in it ..the one u mentioned on your server..
its should work... If it doesnt just refer to RedHat 9.0 Bible... Chapter Connecting to Internet... it will guide you..prefectly...
Enjoy Networking. milo
On Fri, 2003-12-26 at 20:53, joel_divekar wrote:
Hi All
I an trying to share internet access using NAT. On the server side I have set ip_forward to 1 and added MASQUERADE in iptables script. And on the client side I have configured server ip as gateway and using same dns servers as specified on the server. But when I do tracert (windows client) it just hits gateway machine and get Request Timed Out. SOS.
Regards
Joel 9820533294
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !