I can't connect to my server with ftp, as pureFTP is trying to enter passive mode with ports below 1024, which are blocked. I did specify a 20000 - 30000 range in pure-ftpd.conf, but it seems this setting is ignored by pureFTP.
Other settings that I modify in pure-ftpd.conf are taken in account after I restartsrv_ftpserver, but PassivePortRange seems to be ignored for some reasons.
Here's the relevant part of my pure-ftpd.conf file:
And here's the error I get when I try to connect with FileZilla - pureFTP is asking to connect to ports 218,129 instead of the range I've set:
I'm pretty sure I'm missing something simple here, but I've been searching for a good hour now, and can't figure out what I'm doing wrong. Any idea?
Other settings that I modify in pure-ftpd.conf are taken in account after I restartsrv_ftpserver, but PassivePortRange seems to be ignored for some reasons.
Here's the relevant part of my pure-ftpd.conf file:
Code:
#Port range for passive connections replies. - for firewalling.
PassivePortRange 30000 50000
# Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
# Symbolic host names are also accepted for gateways with dynamic IP
# addresses.
ForcePassiveIP 54.65.xxx.xxx
Code:
Command: PASV
Response: 227 Entering Passive Mode (54,65,xxx,xxx,218,129)
Command: MLSD
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out
Error: Failed to retrieve directory listing