How to configure ProFTPd to return proper external IP address?
Since Plesk Onyx 17.8 this is automatically enabled in ProFTPd configuration files once the Public IP address is added in Tools & Settings > IP Addresses > 192.0.2.2 > Public IP address and a Subscription is assigned to this IP address.
This can be verified with the following steps:
Connect to the server via SSH
The public IP address is added as
MasqueradeAddressin the FTP VirtualHost section:
# cat /etc/proftpd.d/50-plesk.conf