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.

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:
    6
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
    #3 cPanelMichael, Aug 2, 2013
    Last edited: Aug 2, 2013
  4. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    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:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  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