linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a little help on iptables
@ 2006-09-07 14:40 Luca Ferrari
  2006-09-07 15:15 ` André Serralheiro
  2006-09-07 16:24 ` urgrue
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Ferrari @ 2006-09-07 14:40 UTC (permalink / raw)
  To: linux-admin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-07 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-07 14:40 a little help on iptables Luca Ferrari
2006-09-07 15:15 ` André Serralheiro
2006-09-07 16:24 ` urgrue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).