From owner-freebsd-questions Wed Oct 4 14:12:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 3CBCD37B66C for ; Wed, 4 Oct 2000 14:12:34 -0700 (PDT) Received: (qmail 99768 invoked by uid 100); 3 Oct 2000 23:25:52 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14810.27392.553139.867653@guru.mired.org> Date: Tue, 3 Oct 2000 18:25:52 -0500 (CDT) To: Doug Lee Cc: questions@freebsd.org Subject: Re: Help going from DSL to dialup In-Reply-To: <575604@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Lee writes: > I run FreeBSD 4-STABLE connected to the Internet via DSL with a static > IP. I use ipfw and natd to grant Internet access for my LAN. I am now > moving and will not have DSL but will have dialup access with a dynamic > IP. I hope to regain DSL or similar service soon but can't do it right > away. Having made that transition myself, you have my sympathy. Not that it's hard, but moving from always-there internet to dialup is a PITA. > What is the easiest way I can convert this system to provide the same kind > of nat/firewall service based on a dynamic dialup connection? I assume it > will involve userland ppp, which has NAT capability built in; but I'd > prefer to minimize the impact on my system configuration, since I expect > this dialup access to be a temporary arrangement. I'm also not yet a pro > with the features of userland ppp, having never had to use it before. Userland ppp is a good choice, as the man pages are excellent. Also look at /etc/ppp/ppp.conf. Userland ppp also has some firewall capabilities, which may be sufficient for your uses. Once you get ppp working to your FreeBSD box, turn on NAT and gateway_enable (in rc.conf), and you're pretty much done. If you weren't using the internal IP address of the FreeBSD box as a gateway, you'll have to tweak the rest of the LAN for that. But that should do it.