Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 01:48:54 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Eric Long <eric@metrotv.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd redirect_address
Message-ID:  <20011116014854.D9851@blossom.cjclark.org>
In-Reply-To: <B8197863.52F6%eric@metrotv.com>; from eric@metrotv.com on Thu, Nov 15, 2001 at 01:49:23PM -0600
References:  <B8197863.52F6%eric@metrotv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011116014854.D9851>