From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 13:24:57 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 275EE16A4CE for ; Sun, 21 Dec 2003 13:24:57 -0800 (PST) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42BF343D62 for ; Sun, 21 Dec 2003 13:24:56 -0800 (PST) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id 2CE45BAD5; Sun, 21 Dec 2003 15:24:25 +0000 (GMT) Date: Sun, 21 Dec 2003 15:24:24 +0000 From: Josh Paetzel To: Robert Deuerling Message-ID: <20031221152424.GB21954@ns1.tcbug.org> References: <1072033322.3fe5ee2ab1e6f@webmail.new-wen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1072033322.3fe5ee2ab1e6f@webmail.new-wen.net> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: how to forward ports to different machines 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: Sun, 21 Dec 2003 21:24:57 -0000 On Sun, Dec 21, 2003 at 08:02:02PM +0100, Robert Deuerling wrote: > Hello, > > i have a router running nat on interface xl1 and i want to do the following: > > 1.) ports 25 and 22 have to go to the router itself. > 2.) only Ports 80 and 20/21 have to go to another machine. > > How can i manage this? > > Only trying to configure nat does not the job. > My second thought is to run separate nat processes, fed by different > ipfw rules. > > Any better suggestions? > > -Robert > Look at -redirect_port in the natd manpage Josh Paetzel