From owner-freebsd-questions Fri Sep 19 00:58:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA22831 for questions-outgoing; Fri, 19 Sep 1997 00:58:01 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA22823 for ; Fri, 19 Sep 1997 00:57:53 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id RAA00706; Fri, 19 Sep 1997 17:27:44 +0930 (CST) Message-ID: <19970919172744.11753@lemis.com> Date: Fri, 19 Sep 1997 17:27:44 +0930 From: Greg Lehey To: Scott Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Internet through NIC References: <3.0.3.32.19970919005602.007b9630@thuntek.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <3.0.3.32.19970919005602.007b9630@thuntek.net>; from Scott on Fri, Sep 19, 1997 at 12:56:02AM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Sep 19, 1997 at 12:56:02AM -0600, Scott wrote: > Hello my family was planning on running a FreeBSD box that handles our > Internet for our 2 computers (instead of running a proxy on one computer) > and we were wondering if there was a way to connect to the FreeBSD machine > through the Network interface card and start a PPP session like you do with > most ISP's that running FreeBSD? If so, i was wondering if you could > explain the procedure or point us in the direction in finding the > information. Thank you. Nothing simpler than that. Well, maybe some things simpler than that, but it's not difficult. The way to do it rotates around the number of Internet addresses you get. If your ISP gives you a static IP address for each system, it's child's play. You do sysctl -w net.inet.ip.forwarding=1 and the FreeBSD box will forward anything from the other machines which has the appropriate address to the Net. Things are slightly more complicated when you have to fake addresses. I'm currently working on a book which will include this topic; would you like to try out the instructions and help me debug them? Greg