Date: Mon, 12 May 1997 17:32:38 +0100 From: Brian Somers <brian@awfulhak.org> To: Dirk-Willem van Gulik <Dirk.vanGulik@jrc.it> Cc: freebsd-doc@FreeBSD.ORG, brian@awfulhak.org, nik@blueberry.co.uk Subject: Re: PPP (user side) Message-ID: <199705121632.RAA10749@awfulhak.demon.co.uk> In-Reply-To: Your message of "Sun, 11 May 1997 17:09:06 %2B0200." <3375E112.103F@jrc.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> Is someone currently giving the user-side PPP section > an over haul ? I just worked my way trhough it; as I > was moving form kernel ppp to user ppp; and found > the following things a bit lacking... I guess I've got the hat on :) > Reading throuhg the ppp, handbook and ppp.conf.example > files I missed the very common case of having a FreeBSD > box acting as a dialin for a normal flat LAN, and where > you want the dialin client to be proxy-ed onto the LAN > with no routing or anything fancy. > > If so; please consider these additions.. (or let me > know where to send them...) The got to the right place :) > 13.1.2 > If you plan to act as a PPP server or gateway > between the machines connected over the PPP > lines and your local area (ether)network; you > will also have to enable the GATEWAY in the > kernel; and quite possible the IPFIREWALL. > > Just add the lines > > options GATEWAY > # options IPFIREWALL [.....] I've added a reference to the firewalls section, but "options GATEWAY" is no longer required. If you want to forward packets (this is what options gateway does), you just need to set the sysconfig (now rc.conf) variable. In your suggested files below, the "enable proxy" circumvents the need for forwarding (enable proxy does the forwarding inside ppp). > 13.1.3 Additional check... > > Using 'ifconfig -a' should give an entry like > > tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500 Added. > 13.1.X Specific to dial-in user-PPP server on a normal > LAN (with not nessesarily routing) where you want > the LAN connected machine to fully proxy for the > connected PPP box. > [.....] Most of this stuff has turned into links to other bits of the handbook. > Configurations used > 1. Server-side kernel config > tun 1 , GATEWAY > 2. Client-side kernel config [.....] > And that is it. Hope this helps someone. Should do. Thanks for your contribution. > Dw. > > http://ewse.ceo.org http://enrm.ceo.org > DWvGulik@Dialis.xs4all.nl Dirk.vanGulik@jrc.it > +39 332 78 0014 +39 332 78 9549 > fax +39 332 78 9185 > > ISEI/ESBA; The Center For Earth Observation > Joint Research Centre of the European Communities, Ispra, Italy -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705121632.RAA10749>