Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Recommended CSF Configuration

Discussion in 'Security' started by hbhb, Aug 1, 2013.

  1. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I have a server that host shared accounts of about 200-300 domains

    The only tweak I did so far was:
    CT_LIMIT = 50
    CT_PORTS = 80

    Can anyone share with me your CSF Configuration or recommend me your best settings..

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I will suggest you to increase your CT_LIMIT configuration to 100 and also add port 443 in CT_PORTS
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following document may be useful to you if you are looking to determine which ports are used by cPanel/WHM:

    Getting the most out of your system's firewall

    Note that while we have several CSF users here, you may find more in-depth configuration discussion on ConfigServer's forum.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 cPanelMichael, Aug 2, 2013
    Last edited: Aug 2, 2013
  4. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    280
    Likes Received:
    17
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    All fixed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    I suggest the following setting so you will not face the problem of banning the IPs of valid/organic traffic/clients to your servers and websites.

    CT_LIMIT = 400. it means any IP making more then 400 are not normal and should be ban
    CT_PORTS = 80. i suggest leave this section BLANK against all ports in your server. so it will detect all ports. not only 80 and 443.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice