Skip to main content

Problem completing connection to FTP server from FileZilla - malformed FEAT reply?

Comments

6 comments

  • cPanelLauren
    Hello, Firstly I would like to point out that we don't recommend using FileZilla, instead, we recommend CoreFTP on Windows and Cyberduck on MAC and we offer configuration files for them. Secondly, is the server NAT routed (meaning do you have a separate private IP and public IP as a result of a hardware appliance)? If not have you tried using ACTIVE mode only for FTP? Furthermore, you may want to check if NAT routing is being forced: How to Edit FTP Server Configuration from the Command Line | cPanel & WHM Documentation If you are NAT routed and need to use PASV mode - the following goes over how to enable it: How to Enable FTP Passive Mode | cPanel & WHM Documentation
    0
  • mgreis
    Thanks. My devices are behind a cable modem router, so NAT is in use. Here's the thing. I've been using this configuration between FileZilla and my CentOS6 server for years. It has always worked and still does. FileZilla specifies default (neither active nor passive), so I'm not sure what's been used. The only thing that's changed is the new server (same FileZilla, same level of cPanel). But I did see the article about enabling passive mode. Perhaps there's a new level of the FTP server in this new CentOS7 server that requires passive mode to be specified. I first try specifying passive mode from the FiileZilla client, since that is a trivial change. Nothing. I then followed the instructions in the article to add a local configuration file /var/cpanel/conf/pureftpd/local with the ForcePassiveIP: ~ entry and restarted the FTP server. Still nothing. BTW, - the /var/cpanel/conf/pureftpd/main file entry as configured by cPanel is explicit - ForcePassiveIP: 64.202.xxx.xxx - when restarting the PureFTPd service, I did receive the following notice: Jan 23 11:28:09 ip-107-180-xx-xxx.ip.secureserver.net pure-ftpd[4343]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem I also looked at the /var/cpanel/conf/pureftpd/mail file on the CentOS6 server where FTP is working. There is no ForcePassiveIP: statement in it. So, to recap: - Confiiguring explicit passive mode on the PureFTPd server didn't work - This configuration works with no problems on the CentOS6 server What might I try next? Thanks!
    0
  • cPanelLauren
    On the new server does the firewall have the passive ports range open?
    0
  • mgreis
    It does. The configuration file main includes the line: PassivePortRange: 49152 65534
    Michael
    0
  • rackaid
    That is not the firewall but the FTP configuration. You need to check your firewall. Firewalls will block the ports unless they are opened. iptables -nL
    Will list your firewall rules. Some cPanel boxes use CSF, which you can access from WHM. Under FTP Server Configuration, make sure TLS Encryption is set to optional. If you happen to have a stateful firewall on the server, it will not work with STARTTLS. I think Filezilla tries STARTTLS by default.
    0
  • arnisraido
    One thing to note - check if Your serves has "ConfigServer Security & Firewall" installed. Mine have `csf v14.02.` FTP server with "passive" connections has to be tuned in csf. Workaround is to add specific IP address to firewall whitelist under ConfigServer Security & Firewall > csf > Firewall Allow IPS Include /etc/csf/cpanel.comodo.allow Include /etc/csf/cpanel.allow 11.22.33.44 # Manually allowed for Passive FTP 1 88.99.22.11 # Manually allowed for Passive FTP 2
    Or just add Your Ip under ConfigServer Security & Firewall > csf > Quick Allow
    0

Please sign in to leave a comment.