Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 11:07:05 GMT
From:      Anthony Robinson <lists@a1.org.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Location of IP masqurade docs
Message-ID:  <20000915.11070500@martha.netgates.co.uk>
In-Reply-To: <39C1CD60.B8CC6979@bsdfr.org>
References:  <200009150310.WAA06226@klentaq.com> <39C1CD60.B8CC6979@bsdfr.org>

next in thread | previous in thread | raw e-mail | index | archive | help


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 15/09/00, 07:18:56, cam <cam@bsdfr.org> wrote regarding Re: Location =

of IP masqurade docs:


> 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=3D"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=3D""
> >     ifconfig_dc0=3D"inet 192.168.0.3 netmask 255.255.255.0"
> >     hostname=3D"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=20
same
> configuration that you).

> you need to edit /etc/ppp/ppp.conf to fill the phone, authname &=20
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.

ppp -auto -alias configname

This has the advantage that the router can be "forgotten about" and=20
will automatically make a connection when any of the other machines=20
want it. It does require good dial filters to prevent the M$ boxes=20
from dialing out!

-nat is now preferred over -alias

> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message





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?20000915.11070500>