If you want to allow users to connect to your Plesk for Linux server via FTP in passive mode, you must manually edit the ProFTPD configuration file and make changes to your firewall policy to allow passive FTP connections.
First log in to your server via SSH as user & #8222;
root& #8220; at. Open the file
/etc/proftpd.conf to edit and paste the following line somewhere in the section
PassivePorts 49152 65534
After adding the file, the file looks something like this:
Save the changes and start the service
xinetd new for the changes to be applied:
To ensure that passive FTP connections can pass through your firewall, add a custom firewall rule with the following parameters:
- direction: Incoming
- action: Allow
- ports: TCP 49152-65534
- sources: (any host)
The configured rule should look like this:
To complete the process, add the rule to your ruleset.