I am no expert but you can try the following.

1) check whether you can access the net from the linux(gateway) machine.
2) check the ip_forward by doing cat /proc/sys/net/ipv4/ip_forward
3) the masquerade rule for iptables is something like this
    For say network 192.168.0.0/24
    /sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0/0 -j
MASQUERADE (also assuming ur using iptables and the 2.4 kernel)
4) Some ISP's dont allow ICMP packets so check whether you can access the
network using some other protocols.
5) Forget DNS for now, try accessing some sites by IP, a good check would be
to see if you can do a "whois" or a "dig", If you can ping an IP address, try
pinging your DNS server to see if they are they are up to perform name
resolution, maybe that isnt set correctly.

Hope this helps...

Regards,
Keith

"joel_divekar" <[EMAIL PROTECTED]> 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 !
> 



-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to