a little help on iptables

Luca Ferrari <[email protected]>
Newsgroups gmane.linux.admin
Message-ID <[email protected]>
Hi all,
this is the situation: I've got a firewall double-homed, with a NIC assigned 
to a public IP and the other to the LAN network. Until now I've used the 
external NIC as default gateway, since my router has a public address too. 
Now I'd like to use another router on the lan as default, leaving untouched 
the external interface (since the firewall must be accessible from the 
outside world). So I've changed the default gw to the lan one, and it works, 
but I get the external ip unreachable, and I think it's because it does not 
know the gateway interface. So, how can I specify for the external interface 
the gateway to use? If I try to do it thru the route command it replies sayng 
that the network is unreachable. Any help?
Thanks,
Luca
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.