----- Original Message -----
From: "Antony Riley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 4:52 AM
Subject: Re: BUG in ipfilter 3.4.29


> IPFilter isn't responsible for routing, just for checking that packets
> are going the correct way.
>
> If you're trying to use IPFilter to force routing via certain interfaces,
> I don't believe this will work.

Although I'm not quite sure what the original poster is trying to do
IPFilter can force the routing of packets via specified interfaces.  I
use the following rules to route between our normal address space
and some RFC1918 address space.  The stuff on the RFC1918
addresses can get through to our normally addressed equipment
and visa versa.  The stuff on the 1918 addresses just cannot get
out to the Internet nor stuff on the Internet get to it.  It works out
great for those things that don't need Internet access but you do
want to have local network access (like network switches and
printers).

#
# Private Address Space (RFC1918) Rules
#
pass  in quick                 from 172.24.0.0/16    to 172.24.0.1
group 100 # Private Address Space to its Gateway
block in quick on fxp0 to fxp0 from 172.24.0.0/16    to <our normal
addresses> group 100 # Private Address Space to Normal Addresses
block in quick                 from 172.24.0.0/16    to 172.24.0.0/16
group 100 # Ignore Broadcasts and Internal Traffic
block in quick on fxp0 to fxp0 from <our normal addresses> to 172.24.0.0/16
group 100 # Normal Addresses to Private Address Space

You also have to set up an alias (in this case 172.24.0.1) on the interface
that the private address space is connected to provide a gateway for
those addresses.
--
James A. Robbins
Network Engineer
The Ohio State University
Chemistry Department


Reply via email to