I have around 3 internal FTP servers named server1
, server2
, server3
. I have 1 public static IP address and all the traffic for example.com
is directed towards it.
Now I need to create a configuration such that if user FTP using ftp://server1.example.com
it should land on server1
and if user FTP using ftp://server2.example.com
it should land on server2
.
I am not sure how can I achieve this. I tried using Squid but it does not work for FTP as FTP does not have concept of host.