If you run a firewall on your Debian  server and want to use passive FTP connections, you have to define the passive port range in pure-ftpd and your firewall to ensure that the connections dont get blocked.

The following example is for pure-ftpd on Debian Squeeze:

Configure pure-ftpd:

echo "50000 50120" > /etc/pure-ftpd/conf/PassivePortRange

/etc/init.d/pure-ftpd restart
Restarting ftp server: Running: /usr/sbin/pure-ftpd -l pam -l 
puredb:/etc/pure-ftpd/pureftpd.pdb -p 50000:50120 -O
clf:/var/log/pure-ftpd/transfer.log -S,2121 -8 UTF-8 -H -u 1000 -E -B


The target of this tutorial is to have a successful installation of the ftp-daemon pureftpd working with virtual user accounts.

Step 1. Installation.

apt-get install pure-ftpd-common pure-ftpd

Step 2. Configuring Pure-ftpd

We now want to setup a few things so that we can run Pure-FTPd as a daemon.

Step 2.1 First you need to set Pure-FTPd as a standalone server:

mcedit /etc/default/pure-ftpd-common

Replace this: Continue Reading…

Page 1 of 11