Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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


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.