How to enable Passive ftp in Pure FTPD

For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client.

While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing.

This tutorial will cover Pure-FTPd, the ftp server used on most cPanel powered servers.

Here are the steps that you will have to fallow so that you enable passive FTP.

  1. Login to your server using a ssh client
  2. Open the Pure-FTPd configuration file in your favorite editor (I always use nano)

    # nano /etc/pure-ftpd.conf

  3. Uncomment the line that starts with PassivePortRange and add:

    PassivePortRange 61001 65535

  4. Restart Pure-FTPd with the command:

    # service pure-ftpd restart

  5. If you use a firewall don’t forget to allow inbound connections on the newly added ports
Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.


  1. Hi,
    Onload of page my antivirus put alert, check pls.

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.



Previous Post:
Next Post: