Date: Sun, 12 Nov 2000 23:28:08 -0800 From: "Crist J . Clark" <cjclark@reflexnet.net> To: Chip <chip@wiegand.org> Cc: Justin Thomas <justin@jdthomas.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Port Forwarding Message-ID: <20001112232808.W75251@149.211.6.64.reflexcom.com> In-Reply-To: <3A0F8305.98BEBEAE@wiegand.org>; from chip@wiegand.org on Sun, Nov 12, 2000 at 09:58:29PM -0800 References: <3A0F4B2E.ED0F8AE9@jdthomas.net> <3A0F5580.15136507@wiegand.org> <20001112210737.V75251@149.211.6.64.reflexcom.com> <3A0F8305.98BEBEAE@wiegand.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 12, 2000 at 09:58:29PM -0800, Chip wrote: > "Crist J . Clark" wrote: > > > > [Broken line wraps from sender not repaired.] > > > > On Sun, Nov 12, 2000 at 06:44:16PM -0800, Chip wrote: [snip] > > > 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. > > 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? It depends. If you have multiple addresses on the interface, use the 'alias_address' option to tell natd which to use. If the interface has an address that changes with time (e.g. DHCP), you really should go with the 'interface' (and 'dynamic' too). If you have one address and it is static... it's a toss up. I think the more traditional way to go is just specify the interface. BTW, Mozilla is really mauling your line wrapping. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001112232808.W75251>