Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!gatech!news.mathworks.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.lan.awfulhak.org (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IP Masquerade on FreeBSD? Date: 18 Mar 1997 14:38:07 GMT Organization: Awfulhak Ltd. Lines: 31 Message-ID: <5gm9cf$icd@ui-gate.utell.co.uk> References: <5gksti$1eq6@r02n01.cac.psu.edu> <332E27ED.76C0@goldcominc.com> Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37348 In article <332E27ED.76C0@goldcominc.com>, Rick Goldeck <RickG@goldcominc.com> writes: > GEOF ABRUZZI wrote: >> >> Is there an implementation of IP Masquerading for freeBSD? >> Linux doesn't work on my 486, but FreeBSD does. Altenatively if I cant do >> IP Masquerading, how do I set up things for a standard PPP gateway? >> >> I think I understand this much: >> The dial in at work is an NT server set to dole out an IP dynamically. >> That IP is assigned to the modem (ppp0) of the BSD machine at home. I >> statically assign an IP to the ethernet card in my BSD machine, BeBox, >> Amiga etc...All the otherr machines (BeBox, amiga, NeXT) use the IP of the >> BSD ethernet card as the gateway/router. Here is where I get a bit >> confused. What IP numbers can I use for the local ethernet? Anything in >> the subnet of the ppp0? (The netmask is 255.255.240.0) What netmask should >> should I use at home? The smallest possible (i.e. 255.255.255.252)? Does >> anything special need to be done at the server side? > > The default /etc/hosts file gives 'legal' numbers. 10.0.0.0 (.1,.2,etc) > works for me > User ppp (as opposed to kernel pppd) is very easy. Check out the primer > at http://www.freebsd.org, it explains everything. Also, in 2.2, ppp has a -alias option. This achieves the "masquerading" effect. -- Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org> <http://www.awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour !