From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 17:40:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22DAB16A4CE for ; Tue, 3 Aug 2004 17:40:29 +0000 (GMT) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id E19B643D41 for ; Tue, 3 Aug 2004 17:40:29 +0000 (GMT) (envelope-from hakim.singhji@earthlink.net) Received: from waldorf.psp.pas.earthlink.net ([207.217.78.20]) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1Bs3H3-0001z9-00; Tue, 03 Aug 2004 10:40:29 -0700 Message-ID: <9680698.1091554829100.JavaMail.root@waldorf.psp.pas.earthlink.net> Date: Tue, 3 Aug 2004 13:40:28 -0400 (GMT-04:00) From: "Hakim Z. Singhji" To: Chuck Swiger , freebsd Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 Subject: Re: Questions on IPFW??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Hakim Z. Singhji" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 17:40:30 -0000 Thanks buddy...I appreciate it. -----Original Message----- From: Chuck Swiger Sent: Aug 3, 2004 1:11 PM To: "Hakim Z. Singhji" , freebsd Questions Subject: Re: Questions on IPFW??? Hakim Z. Singhji wrote: > You answered my question, I wanted to know which was better to use with > port forwarding (ipfw or natd) and based on what you wrote, natd is a > better fit due to the fact that I would not have to force the other machine > to accept packets redirected from the NAT box using natd. Is that > correct??? That's right. Most people want to use NAT, because it lets you set up an internal network without having to specially configure the internal machines. With regard to your other question, if you want an external connection to, say, port 22 to be forwarded to port 22 on some machine on your internal network, use: redirect_port tcp 192.0.0.5:22 22 ...in /etc/natd.conf or your natd_flags in /etc/rc.conf. -- -Chuck