Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 1997 15:59:23 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        George Yobst <george@lincc.lib.or.us>
Cc:        questions@freebsd.org
Subject:   Re: Simple ipfw config?
Message-ID:  <Pine.UW2.3.95.970311155303.10791D-100000@cedb>
In-Reply-To: <Pine.BSF.3.91.970311143757.16758B-100000@lincc.lincc.lib.or.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Dan
-- 
 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970311155303.10791D-100000>