I have installed the pure-ftpd package with PureFTP 1.0.24 on Ubuntu 10.04 using apt-get.
Even though, this is the default port range, I've added the file /etc/pure-ftpd/conf/PassivePortRange containing:
30000 50000
This does add the correct option to the command as it is run (-p 30000:50000
), but for some reason, I still get connections trying to use ports above 50000. I think the problem is that these are active ftp sessions, but what's the point of specifying a port range if it only works for passive mode? Then I still need to open all the ports in my firewall...
Is there a way to specify a port range for all connections (rather than just passive ones)?