From owner-freebsd-questions Wed Oct 23 7:52:17 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 F3B2F37B401 for ; Wed, 23 Oct 2002 07:52:16 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB7643E3B for ; Wed, 23 Oct 2002 07:52:16 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.5) with ESMTP id g9NEqFqB036755; Wed, 23 Oct 2002 10:52:15 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id g9NEqEMM036708; Wed, 23 Oct 2002 10:52:14 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: Andrew Thomson Cc: questions@FreeBSD.ORG Subject: Re: nat + ipfw + adsl References: <006b01c27909$db37f7e0$2d01a8c0@michael> <1035247522.1777.6.camel@athomson.prv.au.itouchnet.net> From: Lowell Gilbert Date: 23 Oct 2002 10:52:14 -0400 In-Reply-To: <1035247522.1777.6.camel@athomson.prv.au.itouchnet.net> Message-ID: <44bs5l2oo1.fsf@be-well.ilk.org> Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Andrew Thomson writes: > I've got PPPoE running fine under BSD now with my new ADSL provider > however am curious if I can just plug in my current firewall and > s/fxp0/tun0/g in appropriate places.. namely for nat and the ipfw > rules.. > > I've grown quite accustomed to using ipfw and natd and would prefer to > use it over ppp -nat and it's filtering rules.. Yes, that should work fine. The filtering in ppp(8) is, if I recall, implemented with the same libraries as ipfw, so the functionality is similar. The syntax is different, but not *very* different... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message