From owner-freebsd-questions Wed Mar 25 23:05:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25589 for freebsd-questions-outgoing; Wed, 25 Mar 1998 23:05:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ers.online.sh.cn ([202.96.211.193]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA25456 for ; Wed, 25 Mar 1998 23:02:57 -0800 (PST) (envelope-from paulk@ether.online.sh.cn) Received: from jinbo.ether.online.sh.cn (202.96.211.195) by ers.online.sh.cn (EMWAC SMTPRS 0.81) with SMTP id ; Thu, 26 Mar 1998 15:01:46 +0800 Message-ID: From: "Paul King" To: , Subject: Re: Help with natd and ipfw Please. Date: Thu, 26 Mar 1998 15:00:48 +0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ---------- > From: anthony@sohopros.com > To: freebsd-questions@FreeBSD.ORG > Subject: Help with natd and ipfw Please. > Date: Thursday, March 26, 1998 12:48 PM > > Can someone help me in configuring natd? > When I dial up via a modem to the Internet and try to > ping my own nic (ed2) (192.168.168.101) I get > "Permission denied". I did some research and found that > I can as root type: > ipfw add 65534 allow all from any to any > and this will allow me to ping my internal network. How > can I configure my box to where I don't have to type this > command? I have read in The Complete FreeBSD the sections > on natd and ipfw, but I am missing something. add this command in /etc/rc.firewall > > Next question: I am dialing via a modem on what I know as > comm 2 (sorry, I'm not sure what the UNIX name is for this > port, but I think it's sio1). <-- Please correct me on this. > After I dial up and get PPP anthony> what should I type to > initiate my natd session? This is what I have been typing: > natd -interface ed2, which is obviously not working. use natd -dynamic ... ... command > > Thank you in advance! > > Anthony .... > > > > -- > > Anthony E. Coley > Consultant, SohoPros > anthony@sohopros.com > > 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