Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael Hennecke <michael_hennecke@yahoo.com>
To: axp-list@redhat.com
Cc: bryan@terran.org
Subject: Re: Q: Switch off ip_forward ?
Date: Tue, 25 Apr 2000 04:07:45 -0700 (PDT)	[thread overview]
Message-ID: <20000425110745.1208.qmail@web1607.mail.yahoo.com> (raw)



--- "B. James Phillippe" <bryan@terran.org> 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


             reply	other threads:[~2000-04-25 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-25 11:07 Michael Hennecke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-25  6:28 Q: Switch off ip_forward ? Michael Hennecke
2000-04-25  6:58 ` B. James Phillippe
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox