Redirecting requests

Hornet hornetmadness at gmail.com
Fri Jul 8 15:43:56 GMT 2005


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 at 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?
> 
> --
> Bob Bomar
> bob at ibsd.us
> -----------------------------
> FreeBSD: The Power to Serve
> http://www.freebsd.org
> 
> 
> 
>


More information about the freebsd-questions mailing list