From owner-freebsd-questions Wed Mar 25 23:41:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29251 for freebsd-questions-outgoing; Wed, 25 Mar 1998 23:41:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29246 for ; Wed, 25 Mar 1998 23:41:01 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.7) with ESMTP id HAA04237; Thu, 26 Mar 1998 07:38:47 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803260738.HAA04237@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: anthony@sohopros.com cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Help with natd and ipfw Please. In-reply-to: Your message of "Wed, 25 Mar 1998 22:48:37 CST." <3.0.32.19980325224834.0080c520@pop.flash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Mar 1998 07:38:46 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just use the -alias switch to ppp and don't run natd. > 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. > > 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. > > Thank you in advance! > > Anthony .... > > > > -- > > Anthony E. Coley > Consultant, SohoPros > anthony@sohopros.com > -- 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