From owner-freebsd-questions Sun Nov 12 21:55:59 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 EA59D37B479 for ; Sun, 12 Nov 2000 21:55:55 -0800 (PST) Received: from wiegand.org [208.194.173.26] by pioneernet.net with ESMTP (SMTPD32-6.03) id A678E2800A0; Sun, 12 Nov 2000 22:13:12 -0800 Message-ID: <3A0F8305.98BEBEAE@wiegand.org> Date: Sun, 12 Nov 2000 21:58:29 -0800 From: Chip X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@alum.mit.edu Cc: Justin Thomas , freebsd-questions@FreeBSD.ORG Subject: Re: Port Forwarding References: <3A0F4B2E.ED0F8AE9@jdthomas.net> <3A0F5580.15136507@wiegand.org> <20001112210737.V75251@149.211.6.64.reflexcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Crist J . Clark" wrote: > > [Broken line wraps from sender not repaired.] > > On Sun, Nov 12, 2000 at 06:44:16PM -0800, Chip wrote: > > Justin Thomas wrote: > > > > > > How do I enable port forwarding using FreeBSD? I am using NATD and > > > IPFW for my home network for connection over a cable modem. I would > > > like to route packets coming into a particular port on my BSD box to > > > reroute to an IP Address on my local network. How do I enable this? > > > > > > Thanks, > > > Justin > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > I do this on my home network, to forward incoming http requests > > to my > > web server. I changed the natd.conf to this - > > > > use_sockets yes > > port 8668 > > alias xxx.xxx.xxx.xx (enter your ipaddr provided by > > your isp) > > interface xxx (enter your nic with the above ip > > addr) > > I am not sure why one would specify both the 'alias_address' and > 'interface' options. > -- > Crist J. Clark cjclark@alum.mit.edu Well, to be quite honest with you, I don't either. It's just the way I was instructed by someone on this list some months back to set it up. I don't recall who, and it probably doesn't matter. It works this way, whether it's right or not. So, if I don't need to specify both, which one can I get rid of? -- 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