Content cannot be listed via FTP

Created:

2016-11-16 13:13:20 UTC

Modified:

2017-08-08 13:24:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Content cannot be listed via FTP

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

  • A server behind NAT and have several IP addresses configured. FTP directory listing is working on the shared IP and not the dedicated IP.

  • /etc/proftpd.conf or /etc/proftpd.d/50-plesk.conf has MasqueradeAddress configured:

    # grep -r Masq /etc/proftpd*
    MasqueradeAddress 203.0.113.2

Cause

  1. ProFTPd MasqueradeAddress configured on the server with several IP. MasqueradeAddress instruct FTP server advertise defined IP to FTP clients and they attempt to establish a connection to this address.

  2. Improper firewall configuration

Resolution

  1. Remove MasqueradeAddress from /etc/proftpd.conf or /etc/proftpd.d/50-plesk.conf
  2. Configure NAT firewall to handle FTP traffic.
Have more questions? Submit a request
Please sign in to leave a comment.