Date: Mon, 13 Nov 2000 06:46:47 -0800 From: Chip <chip@wiegand.org> To: cjclark@alum.mit.edu Cc: Justin Thomas <justin@jdthomas.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Port Forwarding Message-ID: <3A0FFED7.60AD7760@wiegand.org> References: <3A0F4B2E.ED0F8AE9@jdthomas.net> <3A0F5580.15136507@wiegand.org> <20001112210737.V75251@149.211.6.64.reflexcom.com> <3A0F8305.98BEBEAE@wiegand.org> <20001112232808.W75251@149.211.6.64.reflexcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Crist J . Clark" wrote: > > 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 Thanks for the info. The line wrapping problem is on mine? I don't let the mozilla settings be used, I always hit enter to end a line, as here. Maybe there is another problem related to this, or I should just make the lines shorter. I hit enter after the words 'let', 'here', and 'make' on the first three lines, so now I can see what's going on too. Maybe it could be that your mailer wraps the lines about 5 or 10 characters shorter than I am writing? I can make them shorter, doesn't matter much to me, just whatever works best for everyone else. I appreciate the help. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0FFED7.60AD7760>