From owner-freebsd-questions Thu Nov 8 5:43:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (c007-h011.c007.snv.cp.net [209.228.33.217]) by hub.freebsd.org (Postfix) with SMTP id 6C62537B41B for ; Thu, 8 Nov 2001 05:43:47 -0800 (PST) Received: (cpmta 13371 invoked from network); 8 Nov 2001 05:43:38 -0800 Received: from 216.227.86.197 (HELO telocity.com) by smtp.telocity.com (209.228.33.217) with SMTP; 8 Nov 2001 05:43:38 -0800 X-Sent: 8 Nov 2001 13:43:38 GMT Message-ID: <3BEA8B09.42E90ED@telocity.com> Date: Thu, 08 Nov 2001 08:39:21 -0500 From: Bob Collins X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.org Subject: Natd to port 80 on other machine Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have played with natd for a bit and read the emails, but I cannot get natd to port forward port 80 to another machine on my lan. My config is: inet--telocity dsl modem--freebsd(ipfw natd & gateway)--[LAN] My public IP is 216.227.x.x and the lan is 192.168.x.x. I am doing the following in my /etc/rc.conf: natd_enable="YES" natd_interface="216.227.x.x" natd_flags=-f /etc/natd.conf" The /etc/natd.conf is: # natd config interface fxp0 #fxp0 is the external nic redirect_port tcp 192.168.x.x:80 80 The correlating firewall rule is: # HTTP - Allow access to web server ${fwcmd} add pass tcp from any to any 80 setup Obviously I am missing something, but it just does not click. Can someone offer some guides? Yes, I have read the natd man until I could not focus on the screen any more. Some switch is eluding me. Thanks Bob Collins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message