From owner-freebsd-net Wed Apr 21 5: 2:18 1999 Delivered-To: freebsd-net@freebsd.org Received: from mail.promo.de (mail.Promo.DE [194.45.188.65]) by hub.freebsd.org (Postfix) with ESMTP id CBECA14DC8 for ; Wed, 21 Apr 1999 05:02:09 -0700 (PDT) (envelope-from stefan.bethke@hanse.de) Received: from d225.promo.de (d225.Promo.DE [194.45.188.225]) by mail.promo.de (8.8.8/8.8.8) with ESMTP id NAA03146; Wed, 21 Apr 1999 13:59:32 +0200 (CEST) Date: Wed, 21 Apr 1999 13:59:24 +0200 From: Stefan Bethke 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: Originator-Info: login-id=stefan; server=mail X-Mailer: Mulberry (MacOS) [1.4.2, s/n U-301178] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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