FTP directory listing is not working for the dedicated IP on Plesk server behind NAT:
421 Service not available, remote server has closed connection
Passive mode refused.
configured on the server with several IP.
instruct FTP server advertise defined IP to FTP clients and they attempt to establish a connection to this address:
# grep -r Masq /etc/proftpd*
- Connect to the server via SSH;
# touch /etc/proftpd.d/49-masquerade-off.conf
- Open file in any text editor and add the following content:
Note: Replace 203.0.113.2 with the server IP address for which is required to disable the MasqueradeAddress.