Article ID: 1240, created on Oct 6, 2008, last review on Sep 5, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


The PassivePorts directive is used in the /etc/proftpd.conf file to specify a passive ports range. Place it to the Global container as follows:

PassivePorts 57000 58000

See the ProFTPd documentation for more information regarding the PassivePorts directive:

Next, the ip_conntrack_ftp module should be loaded into the system:

# /sbin/modprobe ip_conntrack_ftp
# lsmod | grep conntrack_ftp
nf_conntrack_ftp       13696  0
nf_conntrack           61684  1 nf_conntrack_ftp

Make sure that the following line exists in the iptables settings:

iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

If the server is behind NAT, the ip_nat_ftp module should also be loaded:

# /sbin/modprobe ip_nat_ftp

To keep the changes after the system boot, the modules should be added into /etc/sysconfig/iptables-config, to the IPTABLES_MODULES line (space-separated).

[root@ ~]# cat /etc/sysconfig/iptables-config | grep IPTABLES_MODULES
IPTABLES_MODULES="nf_conntrack_ftp nf_conntrack ip_nat_ftp"

Please note:

Because the FTP helper modules must read and modify commands being sent over the command channel, they will not work when the command channel is encrypted through use of TLS/SSL.

If it is required to use TLS/SSL for FTP, the only way is to open required ports:

# iptables -A INPUT -p tcp --match multiport --dports 57000:58000 -j ACCEPT

Search Words

FTP not working

Unable to get directory listing in FTP: "Error 500 Illegal PORT command"

FTP directory listing

ftp tls

ftp problem

FTp Filezilla TLS

TLS connection won't work

Failed to retrieve directory listing

unable to ftp

PCI Compliance FTP stopped working

Unable to get directory listing for FTP

cannot connect to ftp

Unable to get directory listing for FTP web site.

ftp plesk

plesk ftp


FTP connection not possible

Filezilla MLSD error Plesk 12

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF