WHM/cPanel or Plesk (systems)
To enable FTP Passive Mode on Plesk or cPanel systems, you will need to first edit the proftpd.conf file in /etc/
Για να ενεργοποιήσετε το FTP παθητικής λειτουργίας για τα συστήματα Plesk ή cPanel, θα χρειαστεί να επεξεργαστείτε το αρχείο πρώτα proftpd.conf στο / etc /
WHM / cPanel
nano /etc/pure-ftp.conf
# PassivePortRange 30000 50000
change
PassivePortRange 60000 65000
service pure-ftp restart
Now, log into WHM and edit the firewall:
ConfigServer Security & Firewall > Firewall Configuration. Add port range 60000:65000 to the TCP_IN rules and save!
Plesk Server
nano /etc/proftpd.conf
Then find the following lines
# delay on login off (are included on newest Plesk) IdentLookups off UseReverseDNS off
Under the lines above, add the following and save the file.
# Custom directives PassivePorts 60000 65000
Now restart xinetd
service xinetd restart
Once xinetd is restarted, you need to add the port range to the Plesk Firewall. Modules > Firewall > Edit Firewall Configuration > Add Custom Rule
Select Incoming, Allow, then add the port range 60000-65000, TCP and OK.