From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 15:43:56 2005 Return-Path: X-Original-To: questions@freebsd.org 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 817DE16A41C for ; Fri, 8 Jul 2005 15:43:56 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAB8F43D4C for ; Fri, 8 Jul 2005 15:43:55 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: by rproxy.gmail.com with SMTP id 34so130896rns for ; Fri, 08 Jul 2005 08:43:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=doqKWGaO5IsUsnpfNanAf/R0gBWiIHNODDUUSkHsG8IyfReUohEgSXBzrobgL76/u/3Y4n6BnPO5imRpf46jS/nfOKXqXvT1vofAE9QDgY6mb8wW4h0SdJnBcthOQRAy5vy8PZ3fVmB7xXPpUfrrThAKU4O7xOsTB17Bi7ebLxE= Received: by 10.38.6.14 with SMTP id 14mr788960rnf; Fri, 08 Jul 2005 08:43:55 -0700 (PDT) Received: by 10.38.8.44 with HTTP; Fri, 8 Jul 2005 08:43:55 -0700 (PDT) Message-ID: Date: Fri, 8 Jul 2005 11:43:55 -0400 From: Hornet To: Bob Bomar In-Reply-To: <20050708153857.GA41250@chaos.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050708153857.GA41250@chaos.fxp.org> Cc: questions@freebsd.org Subject: Re: Redirecting requests X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hornet List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 15:43:56 -0000 I'm using PF, and have this which works like a champ rdr on $public proto tcp from any to any port 3389 -> 1.2.3.4 port 3389 rdr on $public proto tcp from any to any port 3390 -> 1.2.3.5 port 3389 pass in on $public proto tcp from any to any port {3380:3390} keep state On 7/8/05, Bob Bomar wrote: > I am looking for the best way to redirect request > on a specific port. Baiscally all I want to do > is when a connection is made to a port, say 5000, > send that request out through another port, say 2000, > on the other interface. Any ideas? >=20 > -- > Bob Bomar > bob@ibsd.us > ----------------------------- > FreeBSD: The Power to Serve > http://www.freebsd.org >=20 >=20 >=20 >