(Plesk for Linux) Configuring Passive FTP Mode

By default, Plesk allows only active FTP connections. This may result in customers being unable to connect to the server via FTP. To avoid this, we recommend enabling passive FTP. This topic explains how to enable passive FTP mode in Plesk for Linux.

To enable passive FTP mode in Plesk for Linux:

  1. Log in to your server via SSH as the root user.

  2. Create the /etc/proftpd.d/55-passive-ports.conf file, add the following lines to it, and then save the changes:

    <Global>
    PassivePorts 49152 65535
    </Global>
    
  3. Run the following command:

    systemctl restart xinetd
    

Now your Plesk server accepts passive FTP connections. If you have installed the Plesk Firewall and switched on its default configuration, you need to add a firewall rule allowing passive FTP:

  • Direction: Incoming

  • Action: Allow

  • Ports: TCP 49152-65535

  • Sources: (any host)

    image-79075.png