From owner-freebsd-questions Thu Jan 28 06:48:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25239 for freebsd-questions-outgoing; Thu, 28 Jan 1999 06:48:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ingate.uk.neceur.com (ingate.uk.neceur.com [193.116.254.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25233 for ; Thu, 28 Jan 1999 06:48:55 -0800 (PST) (envelope-from Jeff.Bond@nectech.co.uk) Received: from internal-mail.uk.neceur.com by ingate.uk.neceur.com id OAA26022; Thu, 28 Jan 1999 14:47:06 GMT Received: from exchange.nectech.co.uk by internal-mail.uk.neceur.com id OAA17841; Thu, 28 Jan 1999 14:47:09 GMT from exchange.nectech.co.uk (exchange.nectech.co.uk [193.116.199.241]) id OAA17841 for (2.4-8.8.8/3.1.31); Thu, 28 Jan 1999 14:47:09 GMT Received: by exchange.nectech.co.uk with Internet Mail Service (5.0.1460.8) id ; Thu, 28 Jan 1999 14:45:11 -0000 Message-ID: <084DD226F592D211988800A024AC583B2692DB@exchange.nectech.co.uk> From: "Bond, Jeffery" To: "'FreeBSD questions'" Subject: Setting up a FreeBSD box as a gateway to my ISP Date: Thu, 28 Jan 1999 14:45:10 -0000 X-Mailer: Internet Mail Service (5.0.1460.8) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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