From owner-freebsd-questions Fri Nov 16 1:51:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id AB0A737B43C for ; Fri, 16 Nov 2001 01:51:37 -0800 (PST) Received: from dialup-209.244.107.134.dial1.sanjose1.level3.net ([209.244.107.134] helo=blossom.cjclark.org) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 164feE-0007Sq-00; Fri, 16 Nov 2001 01:51:30 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAG9n2n49222; Fri, 16 Nov 2001 01:49:02 -0800 (PST) (envelope-from cjc) Date: Fri, 16 Nov 2001 01:48:54 -0800 From: "Crist J. Clark" To: Eric Long Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd redirect_address Message-ID: <20011116014854.D9851@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eric@metrotv.com on Thu, Nov 15, 2001 at 01:49:23PM -0600 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 15, 2001 at 01:49:23PM -0600, Eric Long wrote: > Running FreeBSD 4.4-STABLE, natd, ipfw, etc. etc. > > NATD is working fine, however, I can't figure out how to get the natd > redirect_address to work. > > My natd.conf file is as follows: > > port 8668 > interface xl0 > use_sockets yes > same_ports yes > redirect_address 192.168.1.6 66.100.208.36 > > Without 66.100.208.36 bound to xl0, the above simply does not work. So, give xl0 that address. > Traffic > to 66.100.208.34 does not get redirected to 192.168.1.6. Uhh... Well, you wrote 66.100.208.36 above. Typo? > Pings do not go > through, etc. > > With 66.100.208.36 bound to xl0, it is saying that no alias address (using > the alias_address command) is specified, and natd won't launch. Let's see your natd(8) and firewall configuration in rc.conf(5) and rc.firewall (if it's been modified). > I'm looking for clarification on what the alias_address should be (yes, I > read man natd) and whether or not I should be binding this public ip the > interface xl0 for use with natd address redirection. Huh? You shouldn't need to set alias_address if you use the interface argument. What exactly are you trying to do? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message