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).
Restart pure-ftpd
systemctl stop pure-ftpd systemctl start pure-ftpd
On AWS security groups, you need to open following ports
TCP 21 TCP 30000-50000