From our office LAN, Secure FTP connections fail. But with a VPN client connection, there is no problem. What could be the cause of this problem, what do we have to change on our firewall?
I normally use another client but for comparison, I use FileZilla here. This is the connection log without VPN:
Status: Resolving address of server
Status: Connecting to ip-address:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (*).
Command: MLSD
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
When using a third-party, commercial VPN service using the same connection setup we get this:
Status: Disconnected from server
Status: Resolving address of server
Status: Connecting to ip-adress:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Status: Directory listing of "/" successful
The setting used in FileZilla is "Use explicit FTP over TLS if available". Additionally: After disconnecting the FTP connection and closing the VPN connection but keeping FileZilla open the connection does work. Closing FileZilla and trying again results again in a failed connection.
Was does work, though, is unencrypted FTP, which for obvious reasons, is something we like to avoid.