From owner-freebsd-questions Tue Mar 11 16:52:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA26407 for questions-outgoing; Tue, 11 Mar 1997 16:52:13 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA26060 for ; Tue, 11 Mar 1997 16:49:24 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id QAA03028; Tue, 11 Mar 1997 16:48:17 -0800 (PST) Date: Tue, 11 Mar 1997 16:48:17 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Dan Busarow cc: George Yobst , questions@FreeBSD.ORG Subject: Re: Simple ipfw config? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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