Date: Sat, 26 Feb 2000 10:56:27 +0000 From: Brian Somers <brian@Awfulhak.org> To: Omachonu Ogali <oogali@intranova.net> Cc: Brendan Kosowski <brendan@bmk.com.au>, FreeBSD Questions <freebsd-questions@FreeBSD.org>, FreeBSD Networking <freebsd-net@FreeBSD.org> Subject: Re: natd/pppd problem Message-ID: <200002261056.KAA63695@hak.lan.Awfulhak.org> In-Reply-To: Message from Omachonu Ogali <oogali@intranova.net> of "Fri, 25 Feb 2000 03:05:56 EST." <Pine.BSF.4.10.10002250305140.10961-100000@hydrant.intranova.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Read the man page for natd, it will not work with ppp0, use ppp(8) with > the -alias option if you want aliasing/masquerading. That's not true, although the comment in the natd man page is misleading. It's possible to use natd w/ pppd or ppp, it's just not as easy as using ``ppp -nat''. Hmm, I must fix that comment in the man page - it's -nat, not -alias. > On Fri, 25 Feb 2000, Brendan Kosowski wrote: > > > > > I am trying to run natd using ppp0 as the public interface. > > > > I have set up IPFIREWALL and IPDIVERT in my kernel. > > My system has the following interfaces: ed1 and ppp0. > > > > When my system boots the kernel gives me the following message: > > > > "IP packet filtering initialized, divert disabled, logging disabled." > > > > I have set up an OPEN firewall and enabled NATD with ppp0 as the public > > interface in my rc.conf. GATEWAY is also ON. > > > > If I drop the divert rule from my firwall rules the box works O.K. as a > > gateway. > > > > Can anyone help ??? > > > > Thanks. [.....] > -- > +-------------------------------------------------------------------------+ > | Omachonu Ogali oogali@intranova.net | > | Intranova Networking Group http://tribune.intranova.net | > | PGP Key ID: 0xBFE60839 | > | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | > +-------------------------------------------------------------------------+ -- Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002261056.KAA63695>