From owner-freebsd-questions@FreeBSD.ORG Thu May 11 01:24:14 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 19ED816A458 for ; Thu, 11 May 2006 01:24:14 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6CFB43D5F for ; Thu, 11 May 2006 01:24:12 +0000 (GMT) (envelope-from msoulier@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so67173uge for ; Wed, 10 May 2006 18:24:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=mmFhNMxjXNy4DUOJf5kRkfcRcB0VFLRNK0/PlmYJpTwNuxPZsd6qccVV+KlwcA45XXRgERgc+amu6xxtq5XyVfiowTBG9T5BBaFVjoXiGjc32HewpeO9wiYUO4zeQvRVWW89TaP1fdS+VV/3+zbH4Qijmu5ODJyQbYOTGDdfYcw= Received: by 10.66.216.6 with SMTP id o6mr47949ugg; Wed, 10 May 2006 18:17:42 -0700 (PDT) Received: by 10.49.15.12 with HTTP; Wed, 10 May 2006 18:17:42 -0700 (PDT) Message-ID: Date: Wed, 10 May 2006 21:17:42 -0400 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Google-Sender-Auth: 4a25a7bd3ae3a26f Subject: setting up a NAT gateway with PPPoE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 01:24:14 -0000 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. 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? I'm also unclear about how to tell natd which local networks to NAT. Also, why is NAT capability in both PPP and natd? If you hadn't noticed, I'm confused. :) Thanks, Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein