From owner-freebsd-questions Tue Jul 23 15: 4:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A81AA37B400; Tue, 23 Jul 2002 15:04:15 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552EF43E72; Tue, 23 Jul 2002 15:04:09 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020723220408.YDJR19639.sccrmhc02.attbi.com@blossom.cjclark.org>; Tue, 23 Jul 2002 22:04:08 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g6NM47JK057698; Tue, 23 Jul 2002 15:04:07 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g6NM46jH057697; Tue, 23 Jul 2002 15:04:06 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Tue, 23 Jul 2002 15:04:06 -0700 From: "Crist J. Clark" To: "Tobias P. Santos" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Firewall and DMZ Message-ID: <20020723220406.GD56146@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <3D3DAD4B.A6C6AEC@widesoft.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D3DAD4B.A6C6AEC@widesoft.com.br> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 23, 2002 at 04:23:55PM -0300, Tobias P. Santos wrote: > Hello, > I would like to implement a firewall to my DMZ network, but > I am not sure about how to do it. > > +----------+ > | Internet | 123.456.789.254 > +----------+ > | > +------------------+ > | FreeBSD Firewall | 123.456.789.4 > +------------------+ > | > +-------------+-----------+ > | | | > | | | > | | | > +----------+ +---------+ +--------+ > | DNS | | Web | | E-mail | > | Server | | Server | | Server | > +----------+ +---------+ +--------+ > 123.456.789.1 123.456.789.2 123.456.789.3 > > > I know it is pretty easy to build ipfw rules when we have natd > (for my internal network for example), but I haven't figured out how to > forward packets between interfaces on the same network with valid IP > addresses. 'Cause that's bridging, not routing. > So, where should I start from? Is there a software to do that? You can try to set up bridging. Or you can subnet, +----------+ | Internet | +----------+ | 123.456.789.254/25 | | 123.456.789.129/25 +------------------+ | FreeBSD Firewall | +------------------+ | 123.456.789.126/25 | +-------------+-----------+ | | | | | | | | | +----------+ +---------+ +--------+ | DNS | | Web | | E-mail | | Server | | Server | | Server | +----------+ +---------+ +--------+ 123.456.789.1 123.456.789.2 123.456.789.3 Subnetting is probably the "more correct" and easier way to go if you're not familiar with bridging. > If this is not the correct mailing list, please tell me the > right one and sorry for the incovenience. This is more of a -questions question. Redirecting the thread. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message