I used to use vsFTPd. However, I recently need to test ISPConfig 3 which requires to install Pure-FTPd. My testing server is behind NAT and FTP should be running in passive mode. How to do it on Pure-FTPd?
Assumed that your server IP is 192.168.50.100 and you want to specify a port range 50000-50100 for the passive mode.
Step 1 :
sudo nano /etc/pure-ftpd/conf/PassivePortRange
sudo nano /etc/pure-ftpd/conf/ForcePassiveIP
Step 2 :
Restart the service.
sudo /etc/init.d/pure-ftpd restart