From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5032 invoked from network); 25 Apr 2000 11:07:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Apr 2000 11:07:47 -0000 Received: from web1607.mail.yahoo.com (web1607.mail.yahoo.com [128.11.23.149]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id HAA17032 for ; Tue, 25 Apr 2000 07:07:46 -0400 Received: (qmail 1209 invoked by uid 60001); 25 Apr 2000 11:07:45 -0000 Message-ID: <20000425110745.1208.qmail@web1607.mail.yahoo.com> Received: from [212.185.253.139] by web1607.mail.yahoo.com; Tue, 25 Apr 2000 04:07:45 PDT Date: Tue, 25 Apr 2000 04:07:45 -0700 (PDT) From: Michael Hennecke Subject: Re: Q: Switch off ip_forward ? To: axp-list@redhat.com Cc: bryan@terran.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "B. James Phillippe" wrote: > On Mon, 24 Apr 2000, Michael Hennecke wrote: > > > Hello. > > > > I'm building a firewall on a RH 6.1 System using > the > > Firewall-HOWTO. > > > > So far I compiled a new kernel and tried to enable > and > > disable ip_forward > > (echo x > /proc/sys/net/ipv4/ip_forward). > > But the echo 0 command doesn't work. I can always > ping > > the external network card from a computer on the > > inside. > > Do you have an explanation for this behavior ? > > Reaching an address that is part of the > router/firewall is not considered > routing because the packet does not traverse the > forwarding chain (and it > does not leave or even enter the destination NIC's > transmit routine). > You'll see that you cannot access hosts _beyond_ the > firewall (try it) ... No, it works. I can ping a host beyond the firewall, even the ip_forward has been turned of (echo 0 >). In my test environment I can ping from the inside the internal network interface of the firewall (192.96.87.110, 255.255.192.0), the external interface (192.168.1.1, 255.255.255.0) and a test-host in that network (192.168.1.5). On the other hand I can't reach any host in the 192.96.87.0 net from 192.168.1.5 except 192.96.87.110 and 192.168.1.1. It doesn't matter if I turned ip_forward on or off. There must be another reason. bye, michael __________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com