Exclude domain in csf firewall
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 ?
-
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 0 -
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 0
Please sign in to leave a comment.
Comments
3 comments