• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue FTP times out when NAT IP is set but works if i use local IP

chrism2015

New Pleskian
I have a VM running Ubuntu 20.04 with Plesk installed, the server is sat behind a firewall and the relevant (passive) ports are forwarded and the cosponsoring ports are also in the servers firewall, when the server is set to use the local IP address the ftp works as expected and i am able to upload files, however when i add a public ip into the public IP box on the ip configuration the ftp logs in but times out retrieving the directory listing.

can someone point me in the right direction?
 
You may have to open the port range 64000–64321 in the local firewall on the server. And if there are any external firewalls or NAT's, configure these to allow/route the port range too.
 
Btw, which FTP server are you using, if it's proftpd then add something like:

PassivePorts 64000 64321

in its /etc/proftpd.conf
 
Back
Top