I want to use the domain name to select which port it should connect to.
Like: A Record ftp.example.com to 188.8.131.52 ---- But on my home router, it will select port 21 as private port to 192.168.0.22 (on the lan side).
A Record ftp2.example.com to 184.108.40.206 ---- But on my home router, it will select port 21 as private port to 192.168.0.23 (on the lan side).
Another example: I have 2 servers (ServA, ServB) using ssh on port 22. If I connect from WAN to my network (220.127.116.11) using:
"ssh.example.com" it connects to the ssh server on ServA using port 22 "ssh2.example.com" it connects to the ssh server on servB using port 22
I've asked everyone i know with some knowledge, they all say they don't really know..
Anyone here can explain me how this is done?