All about CSF (ConfigServer Security & Firewall)


To add IP address in to deny list

csf -d IP

To add IP address in to allow list

csf -a IP

How to restart csf firewall

csf -r

How to stop csf firewall

csf -x

Path of CSF configuration file on cPanel server


Path of denied IP addresses file in CSF


Path of allowed IP address file in CSF


How to add IP address in to ignorelist

(1) login to shell

(2) add IP address in to /etc/csf/csf.ignore

How to find IP address blocked in temporary ban

grep IP /etc/csf/csf.tempban


One Reply to “All about CSF (ConfigServer Security & Firewall)”

Leave a Reply

Your email address will not be published. Required fields are marked *