Forum Moderators: bakedjake

Message Too Old, No Replies

IPTables Firewall

Can't communicate with the internet

         

Kronos

12:40 pm on Sep 12, 2003 (gmt 0)

10+ Year Member



Hi,

I've got a Linux Red Hat 9 machine on my network with iptables installed on it. But now, here's what's strange: even when the iptables service is off, I can't connect to the internet. I can ping by hostname and ip address all computers inside my router, but none outside. On the other hand, all of the other machines in the same subnet are able to communicate with the outside. And I don't believe it's because of the firewall, because I shut it down. Oh, and ip forwarding is on... anyone have any idea? Thanks!

martin

5:31 pm on Sep 13, 2003 (gmt 0)

10+ Year Member



Most likely you haven't set up your default gateway.

Do

route add -net 0.0.0.0 gw <gateway_ip>

and look into your docs how to configure it to be done automatically.

mikejson

3:58 pm on Sep 16, 2003 (gmt 0)

10+ Year Member



HAH, I had a very similar problem. I had to take out the default firewall in rc.firewall I think there was another spot too. It took me 3 days to get my LAN to connect to the net, as soon as I took out ALL firewall, I connected, then from there I wrote(hehe) my own firewall(well,downloaded a known good one, and used that).

give that a try, and see if your LAN can communicate to the interent.

If you still have a problem, describe your actual set up.

eg. Gateway, 3 other computer linked to the gateway computer... or however you have it.

That will help everyone else with your problem