From owner-freebsd-net@FreeBSD.ORG Tue Oct 28 13:38:01 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7408B16A4D6 for ; Tue, 28 Oct 2003 13:38:01 -0800 (PST) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26D7343FD7 for ; Tue, 28 Oct 2003 13:38:00 -0800 (PST) (envelope-from damian@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smtp3.sentex.ca (8.12.9p2/8.12.9) with ESMTP id h9SLbteW013054; Tue, 28 Oct 2003 16:37:55 -0500 (EST) (envelope-from damian@sentex.net) Received: from pegmatite.sentex.ca (pegmatite.sentex.ca [192.168.42.92]) by lava.sentex.ca (8.12.9p2/8.12.9) with ESMTP id h9SLbxYH060056; Tue, 28 Oct 2003 16:37:59 -0500 (EST) (envelope-from damian@sentex.net) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id D12571718B; Tue, 28 Oct 2003 16:37:46 -0500 (EST) Date: Tue, 28 Oct 2003 16:37:46 -0500 From: Damian Gerow To: jhall@vandaliamo.net Message-ID: <20031028213746.GX94315@sentex.net> References: <62764.199.223.158.225.1067375764.squirrel@admintool.trueband.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62764.199.223.158.225.1067375764.squirrel@admintool.trueband.net> X-GPG-Key-Id: 0xB841F142 X-GPG-Fingerprint: C7C1 E1D1 EC06 7C86 AF7C 57E6 173D 9CF6 B841 F142 X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new cc: freebsd-net@freebsd.org Subject: Re: mpd, ADSL and pptp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 21:38:01 -0000 Thus spake jhall@vandaliamo.net (jhall@vandaliamo.net) [28/10/03 16:16]: > I am setting up a FreeBSD server to function as a agteway to the Internet > as well as maintain the necessary tunnels to our corporate office. All of > this should be accomplished over a DSL connection. > > I have setup mpd to make the PPPoE connection need to connect to the ADSL > provider, and it is working without a problem. I am using ng0 for this > connection. > > What is the best way to start natd after the connection to the DSL > provider has been established? I am doing this manually right now for > testing since I am looking at error messages, etc. > > I am currently using the following command to load natd. > > natd -interface ng0, where ng0 PPPoE connection. Look at 'set iface up-script':