From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 02:42:09 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 D235816A4D0 for ; Thu, 19 Feb 2004 02:42:09 -0800 (PST) Received: from sun.home.homeunix.org (c-67-171-199-35.client.comcast.net [67.171.199.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B246943D2D for ; Thu, 19 Feb 2004 02:42:09 -0800 (PST) (envelope-from lg+freebsd@home.homeunix.org) Received: by sun.home.homeunix.org (Postfix, from userid 1000) id A4CC444; Thu, 19 Feb 2004 02:42:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by sun.home.homeunix.org (Postfix) with ESMTP id 99FF743; Thu, 19 Feb 2004 02:42:18 -0800 (PST) Date: Thu, 19 Feb 2004 02:42:18 -0800 (PST) From: Deling Ren X-X-Sender: lg@sun.home.homeunix.org To: Stanley Chan In-Reply-To: <368CF33D.1EA0A4E1@cyberec.com> Message-ID: <20040219024135.O11129@sun.home.homeunix.org> References: <368CF33D.1EA0A4E1@cyberec.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@FreeBSD.org 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: Thu, 19 Feb 2004 10:42:10 -0000 Are you using ipfilter or ipfw? In the former case, read this how-to: http://www.obfuscation.org/ipf/ipf-howto.html Deling On Sat, 2 Jan 1999, Stanley Chan wrote: > 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 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >