HOWTO : Passive mode for Pure-FTPd on Ubuntu Server 9.04

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
50000 50100
sudo nano /etc/pure-ftpd/conf/ForcePassiveIP
192.168.50.100
Step 2 :
Restart the service.
sudo /etc/init.d/pure-ftpd restart

Leave a Reply

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