From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 15:46:07 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 329DB16A41C for ; Fri, 8 Jul 2005 15:46:07 +0000 (GMT) (envelope-from bob@fxp.org) Received: from chaos.fxp.org (chaos.fxp.org [216.155.111.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D422343D55 for ; Fri, 8 Jul 2005 15:46:06 +0000 (GMT) (envelope-from bob@fxp.org) Received: from localhost (localhost.fxp.org [127.0.0.1]) by chaos.fxp.org (Postfix) with ESMTP id 7592328426; Fri, 8 Jul 2005 11:46:06 -0400 (EDT) Received: from chaos.fxp.org ([127.0.0.1]) by localhost (chaos.fxp.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34687-01-17; Fri, 8 Jul 2005 11:46:02 -0400 (EDT) Received: by chaos.fxp.org (Postfix, from userid 1103) id 0831028420; Fri, 8 Jul 2005 11:46:02 -0400 (EDT) Date: Fri, 8 Jul 2005 11:46:01 -0400 From: Bob Bomar To: Hornet Message-ID: <20050708154601.GB41250@chaos.fxp.org> References: <20050708153857.GA41250@chaos.fxp.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at 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: Bob Bomar List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 15:46:07 -0000 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 08, 2005 at 11:43:55AM -0400, Hornet wrote: > I'm using PF, and have this which works like a champ >=20 > 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 >=20 > pass in on $public proto tcp from any to any port {3380:3390} keep state >=20 >=20 >=20 > 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? My problem lies in the fact that the first machine and second machine will have the same IP address, its a long story, but that is what the client wants. --=20 Bob Bomar bob@ibsd.us ----------------------------- FreeBSD: The Power to Serve http://www.freebsd.org --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCzp+59Jm/aTrtdKoRAgFMAJwLYtwMGY5uLU2Wanz0Amt+jtMhvwCggbj6 pLSNgHmR7CKXDnHLx34Ch9s= =OuuG -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH--