From owner-freebsd-questions@FreeBSD.ORG Thu Feb 16 10:53:13 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE31616A420 for ; Thu, 16 Feb 2006 10:53:13 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90E2643D5C for ; Thu, 16 Feb 2006 10:53:11 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id o37so138177nzf for ; Thu, 16 Feb 2006 02:53:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m9gTNRdTy9RD3UsscEvHX7CzvwALDeJZvSQMsFbT/s2RdrHfChVA512hZEZzAPitDRtC4q5XLG+mt4/3dgTu2UvWChhXcikUxyk2vYiV2qDKa61/Pnl0i78J6in+pPaCnFBRutKt4JsB2kxoqkch1QlJdkiWnJvQkd1AaehPHvg= Received: by 10.36.12.7 with SMTP id 7mr799068nzl; Thu, 16 Feb 2006 02:53:10 -0800 (PST) Received: by 10.37.20.11 with HTTP; Thu, 16 Feb 2006 02:53:10 -0800 (PST) Message-ID: Date: Thu, 16 Feb 2006 13:53:10 +0300 From: Andrew Pantyukhin To: Chuck Swiger In-Reply-To: <43F3EE83.6060702@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43F3EE83.6060702@mac.com> Cc: FreeBSD Questions Subject: Re: natd with several alias IPs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 10:53:14 -0000 On 2/16/06, Chuck Swiger wrote: > Andrew Pantyukhin wrote: > > I wonder, what tricks do you use to use more than > > one alias IP? I mean, if you have hundreds of > > hosts behind your firewall, what can you do to alias > > some of them to one ip, others to another and so on. > > See "man natd" about the following options for 1-to-1 NAT translation, wh= ich can > be put into /etc/natd.conf and processed automagicly when the machine boo= ts: > > -redirect_address localIP publicIP That's one trick. Do you use it in production? How many hosts do you have mapped this way? How do you get incoming traffic translated to the address it is meant for, not the last address?