Hi all, I'm trying to adjust the PASV range that pureftpd is using. I found the pure-ftpd.conf in the fail2ban directory and have added the following line in there; PassivePortRange 30000 35000 and restarted using the /etc/init.d/pure-ftpd-mysql restart command however it doesn't appear to made any difference. Any suggestions would be greatly appreciated. Cheers! Ken Edit: I found that the configuration is done through individual files in the pure-ftpd/conf directory, however, even after putting a PassivePortRange file in there with the appropriate values (at least I think they are appropriate) it is still not functioning correctly. I also have modified the port forwarding on the firewall to allow this range.
Solved I got it. I had to add another file in the conf directory for masquerading. Now it appears to be working. Thanks, Ken
Hi. I am having the exact same problem. Could you please explain the masquerading part in more detail? Thanks.
Nevermind, I figured it out. Adding ForcePassiveIP x.x.x.x to /etc/pure-ftpd/pure-ftpd.conf did the trick for me. (x.x.x.x = public IP of the server)