Author Topic: FTP Server Error: (Error in "MLSD" command While Connecting FTP to Server)  (Read 3831 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
This are instructions for ProFTPd, CWP dose not use ProFTPd anymore


FTP Server Error: (Error in "MLSD" command While Connecting FTP to Server)

example:
Code: [Select]
Command: PASV
Response: 227 Entering Passive Mode (SERVER_IP,235,240).
Command: MLSD

This is CSF firewall blocking passive ports and you need to whitelist your ip or change some settings

You need to add passive ports in yours ProFTPd config: /etc/proftpd.conf
Code: [Select]
PassivePorts 30000 35000
in CWP go to Security --> CSF Firewall ==> Firewall Configuration
Under TCP_IN at end of the line add port range for FTP passive ports like: ,30000:35000

example of allowed tcp passive ports from: 30000:35000
Code: [Select]
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,30000:35000"

now restart CSF firewall and you are ready to go.

More detailed info from CSF website
http://www.configserver.com/techfaq/faqlist.php?catid=6&faqid=67
« Last Edit: October 22, 2014, 04:44:20 PM by Administrator »
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services