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

    How to revert back to X11 / Xorg from Wayland

    Wayland is intended as a “simpler replacement for X”, and is getting quite a bit of hype around the Linux community. So much so, that it’s the default in the latest versions of Fedora, GNOME, KDE and others. While Wayland may be the future, it really is in future. At least for Ubuntu 17.10. The […]

    Read More

    Touchpad stops working after sleep + resume (Fedora 26 on Dell XPS)

    After recently upgrading my Dell XPS 13 w/Touchscreen to Fedora 26, the touchpad suddenly stopped working upon resuming from sleep mode. It was reproduced 100% of the time, and required a complete restart in order to get the touchpad working again. There have been several forum posts and bug reports regarding others experiencing these exact […]

    Read More

    Leave a Reply

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

    Twitter: kireguy

    Tweeter button Facebook button Myspace button