Do you have IP Masquerading turned on in your kernel?

Also, make sure that you have iptables turned on with an appropriate set
of firewall rules.

Something like this in a firewall script should do the trick:

iptables -t nat -F

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

# Turn on IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

Ian

------------
Dr Ian Firla
Robert Graves Trust             | "A partial count of the software available
St John's College, Oxford       | in just one noncommerical Linux system
OX1 3JP - +44-(0)7855-310565    | would have cost about $1.9 billion to develop
http://www.robertgraves.org     | ... the way Microsoft does it" Bruce Perens


On Fri, 6 Sep 2002, Jean Solon Vall�s wrote:

>
> Hi,
>
> I can't ping the web from my Linux router. I have a configuration like
> this
>
> a LAN and a router with 2 nics one on my LAN the other one on the net
>
> I can  ping my router from my LAN but my router  can't ping the Web (my
> DNS) and it can ping itself from the two Nics
>
> Please help
>
>
> Jean Solon Vall�s
>
>
> ________________________________________________________________________________
> Send and receive Hotmail on your mobile device: Click Here
> _______________________________________________ Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
>



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to