From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 22:35:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB68C1065672 for ; Tue, 12 Jul 2011 22:35:20 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 686D68FC18 for ; Tue, 12 Jul 2011 22:35:20 +0000 (UTC) Received: by qwc9 with SMTP id 9so3486705qwc.13 for ; Tue, 12 Jul 2011 15:35:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.45.1 with SMTP id c1mr403881qcf.259.1310510119432; Tue, 12 Jul 2011 15:35:19 -0700 (PDT) Received: by 10.229.241.206 with HTTP; Tue, 12 Jul 2011 15:35:19 -0700 (PDT) In-Reply-To: <20110712160304.GI6611@dan.emsphone.com> References: <20110711170729.GG6611@dan.emsphone.com> <1310473165.58370.YahooMailRC@web36501.mail.mud.yahoo.com> <20110712160304.GI6611@dan.emsphone.com> Date: Tue, 12 Jul 2011 15:35:19 -0700 Message-ID: From: Michael Sierchio To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Bill Tillman , freebsd-questions@freebsd.org Subject: Re: IPFW Firewall NAT inbound port-redirect 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: Tue, 12 Jul 2011 22:35:20 -0000 We're not talking about natd. The question was about the use of ipfirewall= nat. On Tue, Jul 12, 2011 at 9:03 AM, Dan Nelson wrote= : > In the last episode (Jul 12), Michael Sierchio said: >> Is there a way of specifying a particular public address if there is >> more than one bound to the external interface? =A0A la >> >> nat 123 config if re0.2 log same_ports redirect_port tcp 10.0.0.3:22 102= .10.22.1:2222 > > Yes; the redirect_port syntax is described in the natd manpage: > > =A0 =A0 redirect_port proto targetIP:targetPORT[-targetPORT] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [aliasIP:]aliasPORT[-aliasPORT] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [remoteIP[:remotePORT[-remotePORT]]] > > > > -- > =A0 =A0 =A0 =A0Dan Nelson > =A0 =A0 =A0 =A0dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >