From owner-freebsd-questions Sat Feb 26 3:42:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-117.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.245]) by hub.freebsd.org (Postfix) with ESMTP id 6804037BBFE; Sat, 26 Feb 2000 03:42:19 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@shift.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA58674; Sat, 26 Feb 2000 10:56:26 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA63695; Sat, 26 Feb 2000 10:56:27 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200002261056.KAA63695@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Omachonu Ogali Cc: Brendan Kosowski , FreeBSD Questions , FreeBSD Networking Subject: Re: natd/pppd problem In-Reply-To: Message from Omachonu Ogali of "Fri, 25 Feb 2000 03:05:56 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Feb 2000 10:56:27 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message