Routing TCP/IP in Windows based on port

Is there any way in Windows to route packets through an external proxy server simply based on the port number? For example, if the given windows maching is attempting to connect outbound on port 110 to 55.55.55.55, is there a way to route that to 44.44.44.44 (a proxy server), which will then proxy it to 55.55.55.55?
LVL 3
dancablamAsked:
Who is Participating?
 
masterbakerCommented:
You might want to check out SOCKS.  Here's a handy dandy guide to understanding and using the SOCKS proxying capabilities:

http://www.unix.org.ua/unix/socks-faq.html
0
 
masterbakerCommented:
Windows makes routing decisions based on IP addresses only, not ports.  I can't think of any way to accomplish this without some kind of crafty 3rd-party application.  If you were running your own local proxy server of some kind, you may be able to direct traffic using it somehow.  

Jeff
0
 
dancablamAuthor Commented:
Gotchya, then perhaps does anyone know of the existance of a programmable proxy that could accomplish this task?
0
 
dancablamAuthor Commented:
I think that hit the nail on the head! Many thanks!

Dan
0
 
masterbakerCommented:
No problem.  Glad I could help out!

Jeff
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.