From owner-freebsd-stable Fri Sep 15 0:19:14 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost.esil.univ-mrs.fr (jiyu.esil.univ-mrs.fr [139.124.44.249]) by hub.freebsd.org (Postfix) with ESMTP id CAB5537B424 for ; Fri, 15 Sep 2000 00:19:10 -0700 (PDT) Received: from bsdfr.org (cam.esil.univ-mrs.fr [139.124.44.65]) by mailhost.esil.univ-mrs.fr (8.9.3/ESIL/jtpda-5.3.1) with ESMTP id JAA55823 ; Fri, 15 Sep 2000 09:19:05 +0200 (CEST) Message-ID: <39C1CD60.B8CC6979@bsdfr.org> Date: Fri, 15 Sep 2000 09:18:56 +0200 From: cam X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Wayne M Barnes Cc: FreeBSD Stable Subject: Re: Location of IP masqurade docs References: <200009150310.WAA06226@klentaq.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wayne M Barnes wrote: > Dear Stablizers, > > My 4.0 system dials out over an external modem, and I have > here at home a W98 system connected to the FreeBSD system > over ethernet, expecting the FreeBSD system to be the Gateway. > > How do I set this up? Just setting gateway_enable="YES" > does not seem to be enough. "IP masquerade" only appears in > the hype/advertising sections of the handbook directory, > as far as I can find. > > Is there another technical name for this? > > I would be grateful for more recipe hints. My system > does dial out and connect to the world using ppp, but noow > I want to share this connection with other computers in the house. > > The FreeBSD system's rc.conf.local specifies ip addresses as: > ifconfig_ppp0="" > ifconfig_dc0="inet 192.168.0.3 netmask 255.255.255.0" > hostname="chica.renaldo.net" > > That last host name is not really legal. Is that a problem? > In /etc/resolv.conf, I actually have another domain name set > (the one of my IP, a university). > > Well, I don't want to go on too long, if you can just > please answer with a nice link to a detailed recipe, or > a few .conf files that work for you, I would be ever so > grateful. > > Thank you, > > Wayne M Barnes stabilizer@klentaq.com ppp runs very fine with my for more than 3 months (i've exactly the same configuration that you). you need to edit /etc/ppp/ppp.conf to fill the phone, authname & authkey fields, then call ppp: ppp -ddial -nat papchap and to close the connection: killall ppp notice that you can add an user in the network group to allow him to dial but check the man 8 ppp , it's very well explained cam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message