inside the mind of a linux admin

enable passive FTP in pure-ftpd

For users that are behind a firewall it might be required that you enable passive ftp in the customer’s 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 default ftp server that we run. Here are the steps that you will have to follow so that you enable passive FTP.

nano /etc/pure-ftpd.conf

  • Uncomment the line that starts with PassivePortRange and add:
  • PassivePortRange 61001 65535

    Then restart the server:

    service pure-ftpd restart

    If you’re still having trouble be sure that these ports are enabled in both the client’s and server’s firewall.

    Related Posts

    synergy: How to enable crypto (encryption) and generate SSL certificate

    The newer Linux versions of the popular mouse/keyboard sharing application “synergy” now has built in encryption. Here’s how to configure it: Just simply passing the –enable-crypto flag on your synergy server without having a proper SSL certificate will result in the inability to connect to clients and generate an error message similar to this in […]

    Read More

    Change Number Pad Delete (dot) key from a comma in Ubuntu Linux

    I recently purchased a new keyboard and updated to the latest Ubuntu, I’m also an avid user of the number pad for quick input when dealing with spreadsheets or accounting. I found that my num pad’s delete key (“.”) was outputting a comma (“,”) instead. Pretty annoying? I agree, but this can be very easily […]

    Read More

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.