My ISP has recently taken to blocking many ports for every customer, even commercial customers like me who pay a higher price so that we can make security decisions like that for ourselves. And they refuse to unblock the ports at all, claiming it’s a corporate decision that they can’t undo.
Unfortunately, a couple of the ports they’ve chosen to block are relatively vital to some of my customers – port 119, which is how my customers connect to my NNTP news server, and port 139, which is how they were set up to map folders on their remote machines to drive letters on their local machines. (I know that mapping drives via the built-in sharing setup of Windows is not very secure, but it’s extremely convenient, and security is already taken care of by various hardware and software firewalls.)
Since the news server is on my Linux server, it is pretty trivial to redirect a non-blocked incoming higher port to local port 119, so that they can access the news server from, say, port 8119. And, with Windows XP’s built-in firewall, I have been able to map incoming local port 8139 to local port 139, so theoretically the services could easily be accessed – if I could change the ports that the news client and SMB file-sharing client attempted to use.
But unfortunately, I can’t change the ports. I could change the NNTP port if my customers used a normal newsreader like Outlook Express or some other newsreader, but they use a proprietary news client that was programmed long ago and has port 119 hard-coded in, and they do not want to change.
And similarly, although Samba under Linux allows you to specify whatever port you want to use, and therefore I can map drives just fine using Samba from a Linux box, Windows’s “Map Drive” and “NET USE” commands have no such option, and always use port 139.
So, my desperate plea would be this: does anybody know of any software for Windows that will somehow intercept outgoing TCP/IP requests for <host X>:<port Y> and change them to <host X>:<port Z>? As I said, there is software to do it for incoming ports – AnalogX Portmapper and the built-in Windows XP firewall can easily map incoming ports to other ports. But what about outgoing ports? Is there any way to do that? Anybody have any idea how difficult it would be for a utility to do something like this?
Any help would be greatly appreciated. I sure hope there’s some way to get this done short of having to install Linux machines as gateways for all of my customers…