Recommended CSF Configuration

hbhb

Well-Known Member
Dec 1, 2006
67
0
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
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.
 
Last edited:

inthukha

Well-Known Member
Jul 17, 2013
61
0
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.