From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: Re: iptables problem Date: Fri, 18 Feb 2005 09:45:44 +0100 Message-ID: <200502180945.44213.fluca1978@infinito.it> References: Reply-To: fluca1978@infinito.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: Content-Disposition: inline Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org On Thursday 17 February 2005 19:45 Your Name's cat walking on the keyboard wrote: > > I'm not sure of what you're saying, since the machine goes on the > > internet > > > thru an ADSL router, that performs NAT by itself, so the firewall, as > > far as > > > I'll use eth1 both as internal and external interface, will only forward > > requests to the ADSL router. However, here there's the output of the > > iptables > > > -L -n: > > ip_forwarding shall only work with two lan cards, no set up shall work > as a firewall with one network interface. > That's not true,since I was working (thanks to suggestions of this mailing list) with a single network interface. Now that I tried it, it's working in the right way (i.e., with two network cards), but even with one it was working. Luca -- Luca Ferrari, fluca1978@infinito.it