From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: a little help on iptables Date: Thu, 7 Sep 2006 16:40:32 +0200 Message-ID: <200609071640.33138.fluca1978@infinito.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" 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