Symptoms
When attempting to connect to an FTP server, the client fails with a timeout error similar to the following:
CONFIG_TEXT: 227 Entering Passive Mode
Error: Connection Timeout
Cause
This error can occur when your firewall is not configured to accept traffic on the passive port range configured on your server. By default, this range is 49152-65534.
Resolution
You will need to ensure the passive FTP port range is open in your server or firewall. By default, this range is 49152-65534.
The ProFTP configuration file is located at /etc/proftpd.conf. The passive ports are defined by the "PassivePorts" option in this file.
# grep 'PassivePorts' /etc/proftpd.conf
PassivePorts 49152 65534
The Pure-FTP configuration file is located at /etc/pure-ftpd.conf. The passive ports are defined by the "PassivePortRange" option in this file.
# grep 'PassivePortRange' /etc/pure-ftpd.conf
PassivePortRange 49152 65534
Comments
0 comments
Article is closed for comments.