On Sat, 12 Mar 2005, Nathan Given wrote:

> I was wondering if it was possible to forward tcp requests on port X to
> port Y.  I have netcat (nc) installed on my box, but I don't know if
> this is the right program to do this with.

If port X and port Y are on the same box, I believe an iptables rule will
do this for you. The usual method however is to just have whatever
application is listening on port X to listen on port Y instead (or in
addition to).

If port X and port Y are on different computers, you'll likely want to set
up ssh tunnelling.

  ~ Ross

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/

Reply via email to