Some times we may have faced this issue with ftp connection
Issue
Can connect to ftp via console,but cannot connect to ftp via ftp client filezila
It will hang at MLSD command and after some time it will get timed out.
Issue occurs while we are trying to connect to ftp server via passive mode, the client will use a random port to open data connection with ftp server’s port 21. Server must have this random port open in its firewall. This random port will be a high port. ie above 30000
1.Login to the ftp server.
2.Open the file /etc/pure-ftpd.conf
3.Look for the line that says PassivePortRange 30000 35000
4.Make sure it is not commented out
5.Save the file.
These range should be allowed by csf also .
Check the file /etc/csf/csf.conf
#vi /etc/csf/csf.conf
Edit as follows:
# Allow incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,30000:35000”
If these range is not entered in CSF . We cannot connect using ftp client like filezila.
If you require help, contact SupportPRO Server Admin


