From owner-freebsd-questions Thu Jan 28 08:07:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA04997 for freebsd-questions-outgoing; Thu, 28 Jan 1999 08:07:40 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from intergate.luciamar.k12.ca.us (intergate.luciamar.k12.ca.us [209.129.95.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA04992 for ; Thu, 28 Jan 1999 08:07:39 -0800 (PST) (envelope-from dknapp@luciamar.k12.ca.us) Received: from luciamar.k12.ca.us (intergate.luciamar.k12.ca.us [209.129.95.252]) by intergate.luciamar.k12.ca.us (8.8.7/8.8.7) with ESMTP id IAA09110; Thu, 28 Jan 1999 08:01:45 -0800 (PST) Message-ID: <36B01B28.D6FAC4F3@luciamar.k12.ca.us> Date: Thu, 28 Jan 1999 08:09:12 +0000 From: David Knapp Organization: LMUSD X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: "Bond, Jeffery" CC: "'FreeBSD questions'" Subject: Re: Setting up a FreeBSD box as a gateway to my ISP References: <084DD226F592D211988800A024AC583B2692DB@exchange.nectech.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe that the Pedantic PPP Primer at http://www.freebsd.org/tutorials/ppp/ppp.html is exactly what you are looking for. hth dbk "Bond, Jeffery" wrote: > > Hello, > > I would like to know how I can setup an old 486 running 2.2.7 to act as a > 'gateway' to my ISP, so that other PCs (running Win98 or FreeBSD) on my LAN > can access the internet. > > I can get the 2.2.7 machine to dial and connect to my ISP (Freeserve BTW), > with no problem using pppd, but how do I get it to route data from the other > machines on my LAN to the ISP via my modem? Also, what do I need to setup on > the other machines? (Do I just need to set the 'Gateway' box in win98 to the > ethernet IP of my FreeBSD machine?) The LAN is just a simple ethernet, using > IP's such as 10.0.0.X. The FreeBSD machine with the modem is 10.0.0.1. I get > a dynamic IP address for the ppp0 interface each time I dial my ISP. > > I'm not so bothered with dial-on-demand and such like at the moment, just > the actual routing of the packets. > > What's the easiest way to do this? > > Thanks for any help, > > Jeff > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- David Knapp 805 473-4353 PC Network Specialist dknapp@luciamar.k12.ca.us LMUSD "Everyone knew her as Nancy" F.T. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message