Skip to main content

FTP stopped working on several servers

Comments

3 comments

  • mtindor
    I think default FTP for cPanel does require root level FTP config changes to work IF you are running a firewall such as CSF. The firewall would block passive mode FTP transfers. I'll give you an example. You don't have to open 5000 ports unless you have some crazy amount of concurrent FTP traffic. I certainly don't use such a wide port range of 30000 35000. It's just an example. See PassivePortRange in /etc/pureftpd.conf PassivePortRange 30000 35000 See TCP_IN in /etc/csf/csf.conf and add the passive port range to it TCP_IN = "##,##,##,###,###,###,30000:35000" Notice in TCP_IN you see 30000:35000, that's a range of ports. And based upon what you set for the PassivePortRange in /etc/pureftpd.conf, you should modify TCP_IN in /etc/csf/csf.conf to allow those inbound ports. Basically, if you have a firewall blocking TCP 20 inbound [and most servers do], you need to have Passive FTP configured properly. Of course you'll need to restart both PureFTP and CSF after making the modifications. M
    0
  • WebHostPro
    Got it, thanks! I saw that but when I tried it still didn't work. Now it seems to. :)
    0
  • cPanelMichael
    Hello, I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.