Outbound NAT Problem
-
Hi there ,
Im searching for a way to pat a outgoing request to a different port with follwing scenario :
At the beginning there were 8 PC's with an application using port 5001 to connect to a Dialogue System ( telnet terminal like ) , identified by the external system using the different ip of the sender .
So the pfsense does pat like pc-port 5001 -> Virtual External IP-5001 -> Dialog System-5001 .
This is working .In the application we can change to communication port from 5001 to something else , but the dialog system only responds to 5001
Using a terminal server we mapped the first start of the application with outgoing nat reflection from
application-5001 -> virtual-ip-5001 -> dialogsystem-5001
This is working ( no surprise )The second start of the application is a little bit tricky :
application-5002 -> virual-ip-5001(different from the first) -> dialogsystem-5001
The problem is to map the outgoing request from 5002 to 5001
Anyone who could help me , or is it not possible ?
Regards Wolfgang
-
For the outbound NAT rule, set the source to the terminal server IP, port 5002. Then set the translation to the other Virtual IP address with a port of 5001 with the static port option.