The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Which firewall rule

Discussion in 'Security' started by postcd, Jun 13, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    623
    Likes Received:
    6
    Trophy Points:
    18
    Firewall CSF blocking FTP connections, i did not received reply on CSF forum so im asking there if anyone can come with idea which rule can cause that? Or if its some whm ftp block?

    blocking log entry /var/log/messages

     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Looks like you need to open your passive FTP port range in CSF conf.
     
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    623
    Likes Received:
    6
    Trophy Points:
    18
    only some of the connections are blocked.. :eek:

    /etc/pure-ftpd.conf contains line:
    and in csf config i have this:

    so i need to modiffy it to 50 000 and restart ftp? isnt this too big range while my ftp conf has maximum 50 simultaneous connections?
     
  5. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    You can change one or the other but they need to match. You could just set PassivePortRange 30000 35000 in the pure-ftpd.conf instead of opening the other ports.
     
Loading...

Share This Page