Discussion Locked

easy port mapping on a workstation

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello Gents and Ladies,

Does anyone know of a quick and dirty way of mapping a workstion port from 110 to 112. I have an application that is hardcoded to use port 110 but our mail server is setup on port 112 for proxy server/firewall/anti-virus issues.

I just want an easy way of 'redirecting' activity going out on port 110 to 112. I could use a server firewalling program like winrounte ... but that is kind of overkill.

Anyideas ?

Les

5 replies

by mckaytech

I don't think there is a quick and dirty way, and it would be particularly difficult to come up with one without knowing how your application interfaces with the TCP/IP stack.

If the application vendor would help out, I'm sure that the port number is stored somewhere in the program and could be altered either at the source and re-compiled or by using a hex editor.

Otherwise, it seems to me that your options are to create a custom TCP/IP stack with an internal translation routine (not a trivial task by any means), or using an external router that does port address translation. It would be very easy to set up a surplus computer with two NIC cards and then use Linux Router Project software to do the translation from port 110 to port 112. It's perhaps not quick and dirty but it can be done cheaply and without too much pain.

paul

by caper

Try NetCat and look at the section on port redirection. If more info needed let me know.

This discussion is closed to new replies.