From owner-freebsd-questions Sun May 24 00:13:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29405 for freebsd-questions-outgoing; Sun, 24 May 1998 00:13:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA29396 for ; Sun, 24 May 1998 00:13:18 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id AAA09490; Sun, 24 May 1998 00:13:17 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 24 May 1998 00:13:17 -0700 (PDT) From: Doug White Reply-To: Doug White To: Brad Tucker cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 23 May 1998, Brad Tucker wrote: > I have a freebsd box at home, and a win 95 box. I have ethernet cards on > both boxes. In the freebsd box I have a modem. I would like to use the > freebsd box as a gateway for the win95 box. I tried setting the > geteway=yes in rc.conf. this didnt seem to work. When i try to ping > somewhere thats not at home from the win95 box I get "Request Timed Out." > Do I need to set the freebsd box to be a router?? Is there an easy way to > tell the freebsd box to take any requests from the device ed0 and give > them to the devices tun0? Will someone please push me into the right > direction. 1. Make sure that `gateway_enable="YES"' is set in /etc/rc.conf. 2. Run `sysctl -w net.inet.ip.forwarding=1' if you don't reboot after doing #1. 3. When you dial up with `ppp', run it with the -alias option: ppp -alias provider 4. When the connection is made, fire up you Winblows box and enjoy. -alias sets you up as Network Address Translation router. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message