From owner-freebsd-questions Tue May 26 20:30:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA03653 for freebsd-questions-outgoing; Tue, 26 May 1998 20:30:13 -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 UAA03531 for ; Tue, 26 May 1998 20:29:50 -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 UAA29801; Tue, 26 May 1998 20:29:48 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 26 May 1998 20:29:48 -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 Sun, 24 May 1998, Brad Tucker wrote: > I tried all this, and still it dows not work. I also tried changing > everthing like the tutorial says to do for ip masquerading, and still > nothing. I run into the same problem. Did you enable the IP gateway and point the Windows box's default gateway at the FreeBSD machine? > Is the -alias option compile into ppp by default on 2.2.6 freebsd. Yes, it is. > Also, do I need to do anything to my kernel to allow packets to pass > from ed0 to tun0. Yes, see #1. > The wierd thing is I can ping 198.147.103.2 from my win95 box. wich is > out of my local net at home. I can ping 206.117.19.10 wich is the > freebsd box at home on the ethernet. I CAN NOT ping my name server > 206.117.19.2 which is the machine Im connecting to via ppp from my win > 95 box. I can ping anywhere I wan from my freebsd box at home. Do I > need to add some special route, or set something in ifconfig, or is this > a netmask problem. Im lost. Please Help. If your FreeBSD machine can reach it, then the Windows box should too. > > 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 > > > > > > > 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