From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 21:28:10 2004 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 03EE516A4CE for ; Wed, 18 Feb 2004 21:28:09 -0800 (PST) Received: from imsm054dat.netvigator.com (imsm054.netvigator.com [218.102.53.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2F2943D1F for ; Wed, 18 Feb 2004 21:28:08 -0800 (PST) (envelope-from stan@cyberec.com) Received: from cyberec.com ([203.198.224.78]) by imsm054dat.netvigator.com (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040219052807.MVO16943.imsm054dat.netvigator.com@cyberec.com> for ; Thu, 19 Feb 2004 13:28:07 +0800 Message-ID: <368CF33D.1EA0A4E1@cyberec.com> From: Stanley Chan X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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: , Date: Thu, 19 Feb 2004 05:28:10 -0000 X-Original-Date: Sat, 02 Jan 1999 00:09:34 +0800 X-List-Received-Date: Thu, 19 Feb 2004 05:28:10 -0000 Dear Friends, The example in the NAT documents is sufficient, can anyone tell me how to redirect ports in the NAT machine. How to put the following command in the rc.conf ? I want to use one of the amchine behind the NAT to run web server. -redirect_port tcp 192.168.0.2:6667 6667 -redirect_port tcp 192.168.0.3:80 80 Thanks Sanley