From owner-freebsd-questions@FreeBSD.ORG Thu Jul 24 18:21:36 2003 Return-Path: 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 2D3F537B401 for ; Thu, 24 Jul 2003 18:21:36 -0700 (PDT) Received: from datasphereweb.com (12-212-67-226.client.attbi.com [12.212.67.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 807CF43F75 for ; Thu, 24 Jul 2003 18:21:35 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 48173 invoked from network); 25 Jul 2003 01:21:34 -0000 Received: from evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net (HELO bartxp) (4.47.114.1) by datasphereweb.com with SMTP; 25 Jul 2003 01:21:34 -0000 From: "Derrick Ryalls" To: "'Matthew Ryan'" , Date: Thu, 24 Jul 2003 18:21:24 -0700 Message-ID: <006a01c3524b$13bacd20$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <196DDFF6-BE3D-11D7-9917-0030654886A6@overdose.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: redirect_port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 01:21:36 -0000 > Hi there, >=20 > Using nat on my gateway to forward traffic on many ports the same=20 > internal machine, what is the correct syntax? >=20 > redirect_port x.x.x.x zz zz > redirect_port x.x.x.x yy yy > redirect_port x x x x nn nn >=20 Copied from my natd.conf redirect_port tcp 192.168.0.20:22 5520 redirect_port udp 192.168.0.20:22 5520 The 5520 is the outside port number