From owner-freebsd-questions Fri Feb 25 5:54:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rerun.lucentctc.com (rerun.lucentctc.com [199.93.237.2]) by hub.freebsd.org (Postfix) with ESMTP id 74E0737B7CB for ; Fri, 25 Feb 2000 05:54:43 -0800 (PST) (envelope-from mcambria@lucent.com) Received: by rerun.lucentctc.com with Internet Mail Service (5.5.2448.0) id <1FBG1086>; Fri, 25 Feb 2000 08:54:29 -0500 Message-ID: <75ADD7496F0BD211ADC000104B8846CF012CEC89@rerun.lucentctc.com> From: "Cambria, Mike" To: Brendan Kosowski Cc: FreeBSD Questions Subject: RE: natd/pppd problem Date: Fri, 25 Feb 2000 08:54:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I agree. I used to do natd/ipfw via pppd (before using a cable modem.) One thing I seem to remember (to add to what others pointed out (e.g. -dynamic etc.) in the mail below) is that the interface (ppp0) must be up and running *before* natd is started. Good luck, MikeC Michael C. Cambria Lucent Technologies Member of Technical Staff Bell Labs Innovations Voice: (978) 287 - 2807 300 Baker Avenue Fax: (978) 287 - 2810 Concord, Massachusetts 01742 Internet: mcambria@lucent.com -----Original Message----- From: Andre LeClaire [mailto:leclaire@sprintmail.com] Sent: Friday, February 25, 2000 8:47 AM To: Brendan Kosowski Cc: FreeBSD Questions Subject: Re: natd/pppd problem Hmmm, I'm currently doing this, so I know it's possible. My gateway box is set up just as you described, except I also have "natd_flags'="-dynamic"" in /etc/rc.conf. Could that be it? Andre p.s. Please reply directly, as I'm not subscribed to -questions > > 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. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message