Min and Max ports having no effect


#1

I’m trying to set up a ftp server behind a firewall, which requires that a port range be specified for pasv connections to go through. I’ve set up my vsftpd.conf as follows:

pasv_max_port=51000
pasv_min_port=50000

However, it doesn’t seem to be adhering to these rules, as evidenced by using ~200 range ports. When I try to connect this is the output:

Status: Connection established, waiting for welcome message…
Response: 220 Welcome to JoFlash Studios Vega
Command: USER
Response: 331 Please specify the password.
Command: PASS ************
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing…
Command: CWD /var/www
Response: 250 Directory successfully changed.
Command: PWD
Response: 257 "/var/www"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (207,119,186,57,195,90)
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing