2

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?

2
  • 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, 2012 at 13:11
  • The built-in port proxy might do what you need. Start netsh and go to the interface portproxy context. Feb 2, 2012 at 2:32

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .