From owner-freebsd-questions Mon Sep 18 22:40:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (pop3.pioneernet.net [208.240.196.25]) by hub.freebsd.org (Postfix) with ESMTP id 152BC37B422 for ; Mon, 18 Sep 2000 22:40:51 -0700 (PDT) Received: from wiegand.org [208.194.173.26] by pioneernet.net with ESMTP (SMTPD32-6.03) id AFE311940372; Mon, 18 Sep 2000 22:55:47 -0700 Message-ID: <39C6FCCC.D0103226@wiegand.org> Date: Mon, 18 Sep 2000 22:42:36 -0700 From: Chip X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "seafug@dub.net" , "freebsd-questions@freebsd.org" Subject: natd does port forwarding? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am wanting to redirect requests to my web site on a public isp to my newly set up apache web server at home (using this - which does work fine). I have natd enabled and natd interface specified in the rc.conf, and divert sockets compiled into the kernel. It appears that natd will redirect incoming http requests to my web server with my natd.conf written like this- use_sockets yes same_ports yes interface ep1 redirect_port tcp 192.168.0.7 80 80 Or so it should, I guess. In the services file I have natd 8668/divert but I have seen it written up as natd 6668/divert in some sources, which is correct? Also, when I enter natd at the command line I get the following message - natd: aliasing address not given I am not sure if I need to add another line to the natd.conf because when I did it still did not work (I tried the alias_address line). I also tried redirect_port tcp 192.168.0.7 80 208.194.173.26 80 which also did not work. I have Gregs book but I don't see any info about port forwarding in it. I would like to move my web site from the isp to my apache server, thereby cutting down the space I am paying for to a minimum, and maybe use them just for email and dns. -- Chip W. www.wiegand.org Alternative Operating Systems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message