How to change pure-ftpd port

Linux

pure-ftpd by default listens on port 21. We will change the FTP port from 21 to some other port. This instruction work for RHEL, CentOS, AlmaLinux, Oracle Linux, and RockeyLinux. To change FTP port to some other port, edit file vi /etc/pure-ftpd/pure-ftpd.conf Find # Bind 127.0.0.1,21 Add below Bind FTP_PORT_HERE Example [root@backendz ~]# cat /etc/pure-ftpd/pure-ftpd.conf … Read more

Install Pure-FTPd from source

To instal pureftpd from source, go to http://download.pureftpd.org/pub/pure-ftpd/releases/ find latest version download link. Download and Install At the time of this post, latest version is 1.0.49, always use latest version when you are installing. cd /usr/local/src wget https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.49.tar.gz tar -zxvf pure-ftpd-1.0.49.tar.gz cd pure-ftpd-1.0.* ./configure –with-puredb make make check make install The software is now installed … Read more

Ubuntu pure-ftpd reply with unroutable address

On AWS Ubuntu server running pure-ftpd, when i try connecting, i get error Status: Server sent passive reply with unroutable address. Using server address instead. To fix this, run echo “30000 50000” > /etc/pure-ftpd/conf/PassivePortRange echo “YOUR_PUBLIC_IP_HERE” > /etc/pure-ftpd/conf/ForcePassiveIP YOUR_PUBLIC_IP_HERE = Replace with your Elastic IP or Public IP (if you don’t have an Elastic IP). … Read more