From owner-freebsd-questions@FreeBSD.ORG Thu May 11 15:49:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 69C1E16A401 for ; Thu, 11 May 2006 15:49:23 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13BB8445E8 for ; Thu, 11 May 2006 15:49:23 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 14750 invoked from network); 11 May 2006 15:49:22 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 May 2006 15:49:22 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id DE59328425; Thu, 11 May 2006 11:49:21 -0400 (EDT) To: "Michael P. Soulier" References: From: Lowell Gilbert Date: Thu, 11 May 2006 11:49:21 -0400 In-Reply-To: (Michael P. Soulier's message of "Wed, 10 May 2006 21:17:42 -0400") Message-ID: <447j4ssgse.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: setting up a NAT gateway with PPPoE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 15:49:23 -0000 "Michael P. Soulier" writes: > People, > > I have just set up my 5.4 box as a gateway to my DSL connection. I > used this section of the freebsd handbook. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html > > I enabled NAT on the PPP connection, and viola, it works. You have musical accompaniment? > I still have to set up my firewall, but I'm curious about how natd works. > > Looking here > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html > > I tried to run natd, but I got an error that the socket type was not > supported. Do I really need to recompile the GENERIC kernel in 5.4 to > support NAT? Yes. See the section of that page titled "Configuration". > I'm also unclear about how to tell natd which local networks to NAT. The "divert" rule(s) in your ipfw configuration. > Also, why is NAT capability in both PPP and natd? Convenience.