Exclude domain in csf firewall

tecwithquestion

Well-Known Member
Oct 20, 2014
61
1
58
cPanel Access Level
Root Administrator
Hello

I want to exclude few domains in csf firewall. So that failed login attempts will not create issue for their entire network.

Can someone help me with this ?
 

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
cPanel Access Level
Root Administrator
I'm not sure you can filter domain names in CSF, just IP addresses.
If you wish to allow certain IP's through the firewall:

Go to Quick Allow.
In the green box add the IP Address.
In the white box below it, add your reason for allowing.
Click the Quick Allow button.

or to deny, then quick deny button, but these will eventually fall off the end if you don't add the phrase #do not delete to the comments
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

I don't believe you can whitelist specific domain names in CSF. Please keep in mind that CSF is a third-party application. Their support forum is located at:

http://forum.configserver.com/

Thank you.
 

MilesWeb

Well-Known Member
PartnerNOC
May 23, 2012
173
2
68
India
cPanel Access Level
Root Administrator
Twitter
csf requires a valid IP/CIDR to be added. If you add a domain name, it will throw an error "
add failed: [domain.com] is not a valid IP/CIDR"

You can whitelist a subnet so that specific network range is in the allow list