From owner-freebsd-questions Sun Mar 29 23:50:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11513 for freebsd-questions-outgoing; Sun, 29 Mar 1998 23:50:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11416 for ; Sun, 29 Mar 1998 23:50:02 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id XAA23814; Sun, 29 Mar 1998 23:49:52 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 29 Mar 1998 23:49:52 -0800 (PST) From: Doug White Reply-To: Doug White To: anthony@sohopros.com cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Help with natd and ipfw... In-Reply-To: <3.0.32.19980324214713.00854e60@pop.flash.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 24 Mar 1998 anthony@sohopros.com wrote: > Hello, to all! 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. See /etc/rc.conf's firewall configuration section. Try specifying your firewall of type `open'. > 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. /dev/cuaa1. > 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. Hop to another console and run natd from there. Or quickly suspend and `bg' ppp. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message