From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 15:50:57 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 3C7EB16A41C for ; Fri, 8 Jul 2005 15:50:57 +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 BB19D43D58 for ; Fri, 8 Jul 2005 15:50:54 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: by rproxy.gmail.com with SMTP id 34so131332rns for ; Fri, 08 Jul 2005 08:50:54 -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=AvsfN8VgqQC6Yh1myXF290K9DP7ui10w5hIgwzdzV8phLIJIqqSM9nipj5RIvJxit/D0sC/1gKcCdc9p1eOX7UbJP/ag6TZCWyIAgToPS+tYz3cidWza1LL06tuIeeWemv9JSTYkD7W+9n07q07yIqxLZdcUgZz6Lq4Go5lkqgM= Received: by 10.38.196.20 with SMTP id t20mr4009823rnf; Fri, 08 Jul 2005 08:50:54 -0700 (PDT) Received: by 10.38.8.44 with HTTP; Fri, 8 Jul 2005 08:50:54 -0700 (PDT) Message-ID: Date: Fri, 8 Jul 2005 11:50:54 -0400 From: Hornet To: Bob Bomar In-Reply-To: <20050708154601.GB41250@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> <20050708154601.GB41250@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:50:57 -0000 Then change "from any to any" to "from any to $intreface1" I think that is the syntax. On 7/8/05, Bob Bomar wrote: > On Fri, Jul 08, 2005 at 11:43:55AM -0400, Hornet wrote: > > 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 stat= e > > > > > > > > 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 > 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 >=20 >=20 >=20 >