Hello lList,
here iss my little "BIG" Problem.
I have a redhat 7.1 box and recently installed kernel 2.4.7
Iptables Version 1.2.2
I habe a private LAN 192.168.1.0 on interface eth1 and a public IP on eth0
I can ping from the private LAN eth1 and eth0 ,but I am unable to ping the outside world.
IPCHAINS is not running.
Masquerading is on and the rest is all open.
THe prime objective for now is to give the LAN access to the "world"
Can someone help me ? I am not sure if it is the rules or something else.
I have the following line in script:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
That is all and I think that should give access. I have compiled the kernel with all netfilter options included except FAST SWITCHING as it is describted in some FAQs.
No idea anymore where to look further. Any advise ?
Thanks for your help.
Peter
here iss my little "BIG" Problem.
I have a redhat 7.1 box and recently installed kernel 2.4.7
Iptables Version 1.2.2
I habe a private LAN 192.168.1.0 on interface eth1 and a public IP on eth0
I can ping from the private LAN eth1 and eth0 ,but I am unable to ping the outside world.
IPCHAINS is not running.
Masquerading is on and the rest is all open.
THe prime objective for now is to give the LAN access to the "world"
Can someone help me ? I am not sure if it is the rules or something else.
I have the following line in script:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
That is all and I think that should give access. I have compiled the kernel with all netfilter options included except FAST SWITCHING as it is describted in some FAQs.
No idea anymore where to look further. Any advise ?
Thanks for your help.
Peter