From owner-freebsd-questions Mon Sep 18 22:51:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 0B3F637B422 for ; Mon, 18 Sep 2000 22:51:13 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 18 Sep 2000 22:50:02 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8J5p4x10078; Mon, 18 Sep 2000 22:51:04 -0700 (PDT) (envelope-from cjc) Date: Mon, 18 Sep 2000 22:51:04 -0700 From: "Crist J . Clark" To: Chip Cc: "seafug@dub.net" , "freebsd-questions@freebsd.org" Subject: Re: natd does port forwarding? Message-ID: <20000918225104.I367@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <39C6FCCC.D0103226@wiegand.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <39C6FCCC.D0103226@wiegand.org>; from chip@wiegand.org on Mon, Sep 18, 2000 at 10:42:36PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 18, 2000 at 10:42:36PM -0700, Chip wrote: > 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 How are you starting natd(8)? With, # natd -f /etc/natd.conf Right? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message