- Plesk for Linux
How to configure ProFTPd to return proper external IP address?
When a server is behind a NAT, ProFTPd returns internal IP address which could cause issues with FTP operability.
To avoid it, use ProFTPd directive
MasqueradeAddress. To set it up, perform the following:
Connect to the server via SSH;
Add the directive
MasqueradeAddresswith the external IP address of the server to the configuration file
/etc/proftpd.conf, for example:
# grep -ir 'Masq' /etc/proftpd.conf