From owner-freebsd-questions Tue Aug 11 15:47:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA20610 for freebsd-questions-outgoing; Tue, 11 Aug 1998 15:47:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclops.xtra.co.nz (cyclops.xtra.co.nz [202.27.184.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA20590 for ; Tue, 11 Aug 1998 15:47:48 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker (210-55-210-32.ipnets.xtra.co.nz [210.55.210.32]) by cyclops.xtra.co.nz (8.9.1/8.9.1) with SMTP id KAA07516; Wed, 12 Aug 1998 10:47:19 +1200 (NZST) Message-Id: <199808112247.KAA07516@cyclops.xtra.co.nz> From: "Dan Langille" Organization: DVL Software Limited To: Julian Elischer Date: Wed, 12 Aug 1998 10:47:20 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: ipfw and natd Reply-to: junkmale@xtra.co.nz CC: FreeBSD Questions References: <199808110904.VAA25925@cyclops.xtra.co.nz> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the reply. I take it that it does not make a difference under 2.2.5 or later? If it does, what difference? What difference will it make under 3.0? On 11 Aug 98, at 15:38, Julian Elischer wrote: > it should be as early as possible.. > this will make a difference to the way it works in 3.0 > > julian > > > On Tue, 11 Aug 1998, Dan Langille wrote: > > > I'm using ifpw and natd. In order for natd to work, the following rule > > must be present somewhere within the ipfw rules. > > > > divert natd ip from any to any via ed0 > > > > (or whatever your external nic is if it's not ed0). > > > > Where should that rule be placed in relationship to other rules? At the > > top, at the bottom? > > > > I used to have it as the last rule (before the deny all rule). But an > > example I just found > > (http://www.metronet.com/~pgilley/freebsd/ipfw/ben2.html) has this rule > > at the top. > > > > I'm confused. I thought you'd want to disallow stuff before allowing > > the natd stuff. Or am I mucked up? > > > > -- > > Dan Langille > > DVL Software Limited > > http://www.dvl-software.com/freebsd : my [mis]adventures > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > -- Dan Langille DVL Software Limited http://www.dvl-software.com/freebsd : my [mis]adventures To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message