Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 1997 16:48:17 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        George Yobst <george@lincc.lib.or.us>, questions@FreeBSD.ORG
Subject:   Re: Simple ipfw config?
Message-ID:  <Pine.BSI.3.94.970311164804.2918H-100000@localhost>
In-Reply-To: <Pine.UW2.3.95.970311155303.10791D-100000@cedb>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Mar 1997, Dan Busarow wrote:

> On Tue, 11 Mar 1997, George Yobst wrote:
> > After reading the handbook and archived mail messages it's still not
> > clear if I can insert a simple firewall box (with 2 net cards) between
> > my router and hub AND keep the same ip numbers on a class C?  I'm only
> > currently using numbers 1-100. I'd like to keep this first stab at
> > filtering as simple as possible and not have to use Ipfilter or NAT.
> > Is this doable?  Pointers, config examples, comments, even flames, 
> 
> I haven't tried this but it will *probably* work
> 
> # interface to lan
> ifconfig ed0 123.123.123.1 netmask 0xffffff00
> # interface connected to router
> ifconfig ed1 123.123.123.2 netmask 0xffffffff
> 
> route add default 123.123.123.2
> 
> ifconfig should have taken care of the route to the lan.

and gateway=yes in sysconfig.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970311164804.2918H-100000>