From owner-freebsd-questions Fri Mar 27 22:24:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA08356 for freebsd-questions-outgoing; Fri, 27 Mar 1998 22:24:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jumpgate.cpn.org.au (ppp03.dpac.tas.gov.au [147.109.155.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA08339 for ; Fri, 27 Mar 1998 22:24:14 -0800 (PST) (envelope-from cpn@dpac.tas.gov.au) Received: from jumpgate.cpn.org.au (jumpgate.cpn.org.au [172.16.1.1]) by jumpgate.cpn.org.au (8.8.7/8.8.7) with SMTP id MAA06644; Sat, 28 Mar 1998 12:43:37 +1100 (EST) (envelope-from cpn@dpac.tas.gov.au) Date: Sat, 28 Mar 1998 12:43:37 +1100 (EST) From: Carey Nairn X-Sender: cpn@jumpgate.cpn.org.au To: Brian Somers cc: anthony@sohopros.com, "freebsd-questions@FreeBSD.ORG" Subject: Re: Help with natd and ipfw Please. In-Reply-To: <199803260738.HAA04237@awfulhak.org> 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 -alias is fine if you just want to allow all protocols. natd is a much better solution if you want to lock down access a little more, e.g. if you want to block port 80 for all but the gateway machine and force clients on the LAN to use your proxy. cheers, Carey Nairn On Thu, 26 Mar 1998, Brian Somers wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message