Re: Redirecting requests

2005-07-08 Thread Hornet
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 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 -
 FreeBSD: The Power to Serve
 http://www.freebsd.org
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Redirecting requests

2005-07-08 Thread Bob Bomar
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 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
-
FreeBSD: The Power to Serve
http://www.freebsd.org



pgpttk7KonM9d.pgp
Description: PGP signature


Re: Redirecting requests

2005-07-08 Thread Hornet
Then change from any to any to from any to $intreface1 I think
that is the syntax.

On 7/8/05, Bob Bomar [EMAIL PROTECTED] 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 state
 
 
 
  On 7/8/05, Bob Bomar [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 -
 FreeBSD: The Power to Serve
 http://www.freebsd.org
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Redirecting requests

2005-07-08 Thread estover
 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
 [EMAIL PROTECTED]
 -
 FreeBSD: The Power to Serve
 http://www.freebsd.org


IPFW can do that with some creative thinking. Give us a little more on
what you are doing and we might be able to help a bit more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]