Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 09:18:56 +0200
From:      cam <cam@bsdfr.org>
To:        Wayne M Barnes <stabilizer@klentaq.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Location of IP masqurade docs
Message-ID:  <39C1CD60.B8CC6979@bsdfr.org>
References:  <200009150310.WAA06226@klentaq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C1CD60.B8CC6979>