Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2005 11:46:01 -0400
From:      Bob Bomar <bob@ibsd.us>
To:        Hornet <hornetmadness@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Redirecting requests
Message-ID:  <20050708154601.GB41250@chaos.fxp.org>
In-Reply-To: <f42935a6050708084341fb8557@mail.gmail.com>
References:  <20050708153857.GA41250@chaos.fxp.org> <f42935a6050708084341fb8557@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 state
> 
> 
> 
> On 7/8/05, Bob Bomar <bob@ibsd.us> 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.

-- 
Bob Bomar
bob@ibsd.us
-----------------------------
FreeBSD: The Power to Serve
http://www.freebsd.org


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCzp+59Jm/aTrtdKoRAgFMAJwLYtwMGY5uLU2Wanz0Amt+jtMhvwCggbj6
pLSNgHmR7CKXDnHLx34Ch9s=
=OuuG
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050708154601.GB41250>