*BSD News Article 99677


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!nntprelay.mathworks.com!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!shift.lan.awfulhak.org!nobody
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with natd configuration
Date: Mon, 14 Jul 1997 03:52:36 +0100
Organization: Awfulhak Ltd.
Message-ID: <k94cq5.cae.ln@shift.lan.awfulhak.org>
References: <33C8807B.41C67EA6@silas.cc.monash.edu.au>
    <5qarmm$cu6@flatland.dimensional.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.lan.awfulhak.org
X-NNTP-Posting-Host: awfulhak.demon.co.uk [158.152.17.1]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Lines: 31
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44443

In article <5qarmm$cu6@flatland.dimensional.com>,
	mfuhr@dimensional.com (Michael Fuhr) writes:
> David Henshaw <dhenshaw@silas.cc.monash.edu.au> writes:
> 
>> My main box is allocated an IP of 10.0.0.1 and connects to an ISP using
>> kermit and a pppd connection.  My ISP allocates an IP address
>> dynamically.
> 
> --snip--
> 
>> rc.firewall contains as per the man pages
>> 	ipfw add 0100 divert 6668 all from any to any via ed0
>> 	ipfw add 65000 allow all from any to any
>>
>> rc.local contains natd -interface ed0
> 
> Don't you want to alias to the address of the PPP interface?  Try using
> ppp0 instead of ed0 in both places.  If you get a dynamic IP address from
> your ISP, you probably want to specify "-dynamic" as well.  Beware that
> "-dynamic" had problems in earlier versions of natd, so make sure you
> have a recent copy.

You may also be graced with a panic.... There's a bug that can be
avoided by not using VJ compression.

Alternatively, ppp does the job of pppd, natd and kermit ;-)

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !