Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We'd like some sort of program that redirects all reads/writes to port 5938, to port 59000. It has to work in both directions, kind of like a "port tunnel".

Is this possible?

share|improve this question
1  
Generally you would just configure the program to listen on the desired port, so in this case listen on port 59000 instead of port 5938. –  Brian Jan 31 '12 at 13:11
    
The built-in port proxy might do what you need. Start netsh and go to the interface portproxy context. –  Harry Johnston Feb 2 '12 at 2:32

1 Answer 1

up vote 1 down vote accepted

Try TcpTrace. (Download link here.) It's a free Windows tool that lets you intercept and forward a TCP port for diagnostic purposes. Note that this is a GUI tool, not a command-line tool or background service.

I've used TcpTrace before for debugging custom socket-based application protocols. Assuming the connections you want to proxy are simple enough – i.e. the application protocol doesn't encode any new server/port information in the payload (such as an HTTP redirect) – then TcpTrace should accomplish what you are asking, i.e. passing the traffic through from one TCP port to another.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.