Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 1999 13:59:24 +0200
From:      Stefan Bethke <stefan.bethke@hanse.de>
To:        scanner@jurai.net
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Q: NATD -redirect_address problem
Message-ID:  <612413.3133691964@d225.promo.de>
In-Reply-To: <Pine.BSF.3.96.990421003009.10642A-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
scanner@jurai.net wrote:

> a dual home box.
> nic card A (fxp0) connects to the internet with a public ip of =
63.64.500.1
> nic card b (de0) connects to the private 192.168.x.x network with an ip =
of
> 192.168.1.125
> 
> I have nat working fine. What im *trying* to do is use the
> -redirect_address flag to get nat to use a *2nd* public ip of =
63.64.500.2
> to direct traffic to our internal exchange server of 192.168.1.2
> So that all traffic from the inside private net is aliased to the
> 63.64.500.1 IP *except* the exchange box. The exchange box is on
> 192.168.1.2 and I want the traffic in and out of the nat box thats
> directed to the exchange box to use the public IP 63.64.500.2. But nat
> will only seem to use the first public IP of 63.64.500.1 no matter how
> hard I try to get -redirect_address 192.168.1.2 63.64.500.2.
> It just doesnt fly. How do I get nat to alias using two different public
> IP's or is that possible?

Run two natd's with appropriate ipfw rules.


Stefan

--
M=FChlendamm 12           |  Voice +49-40-256848, +49-177-3504009
D-22089 Hamburg         |  e-mail: stefan.bethke@hanse.de
Germany                 |          stb@freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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