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:
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
Response: 331 Please specify the password.
Command: PASS ************
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Retrieving directory listing…
Command: CWD /var/www
Response: 250 Directory successfully changed.
Response: 257 "/var/www"
Command: TYPE I
Response: 200 Switching to Binary mode.
Response: 227 Entering Passive Mode (207,119,186,57,195,90)
Error: Connection timed out
Error: Failed to retrieve directory listing