Redirect a Remote-Port to an Internal or Remote-Port on the same system

By openlyfurtive2all ·
FOR WINDOWS XP, 2000, etc.

There should be a simple way to redirect traffic sent from and application or from the system to an External TCP and/or UDP port to an Internal TCP and/or UPD port or to another External TCP and/or UDP port. I CANNOT/DO NOT want to do it through the application. But damned if I can find anyone who knows a way to do it without an external router, a firewall, or Linux OS.

HYPOTHETICAL EXAMPLE: An application is attempting to send a message to the internet over port 69. I need it to use port 999 in order for the traffic to use the proper network. But the application doesn't allow me to edit the port that it sends through. I can't change the router or firewall. Therefore I need to have the system to the traffic routing internally.

Any Thoughts??!!!!!!

Thank You In Advance!

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Doubt it.

by bart777 In reply to Redirect a Remote-Port to ...

Without some other device or software to redirect the port from one to the other it's not going to work. The Windows OS doesn't change port numbers as this is usually done thru routing. ISA server could but I don't think that would work for you very well either.

The only option I can think of is to do it programatically. You would need to have some other program intercept the traffic BEFORE it hit the NIC and change the port number. Unfortunately I don't know anyone who has that type of programming expereince.

Just out of curiosity, why not do it thru a firewall or router?

Collapse -

Re:Doubt it.

by openlyfurtive2all In reply to Doubt it.

Because the system is on a network and any changes made to the firewall or router would, obviously, be global.

I know that it is possible to redirect a port from one to the other by using an SSH shell. So unless someone knows of a kickass VPN tunnel redirection WITHIN the same system without the use of a virtual machine cause that's a little more complicated than I'm hoping for...

Related Discussions

Related Forums