From owner-freebsd-questions Mon Nov 13 6:44: 8 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 E904837B479 for ; Mon, 13 Nov 2000 06:44:05 -0800 (PST) Received: from wiegand.org [208.194.173.26] by pioneernet.net with ESMTP (SMTPD32-6.03) id A249189500DA; Mon, 13 Nov 2000 07:01:29 -0800 Message-ID: <3A0FFED7.60AD7760@wiegand.org> Date: Mon, 13 Nov 2000 06:46:47 -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> <3A0F8305.98BEBEAE@wiegand.org> <20001112232808.W75251@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: > > 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