Pages

Tuesday 18 December 2012

Important CSF commands!!!


To add IP address in to deny list csf -d xxx.xxx.xxx.xxx

To add IP address in to allow list csf -a xxx.xxx.xxx.xxx

How to restart csf firewall csf -r

How to stop csf firewall csf -x

Path of CSF configuration file on cPanel server /etc/csf/csf.conf

Path of denied IP addresses file in CSF /etc/csf/csf.deny

Path of allowed IP address file in CSF /etc/csf/csf.allow

How to add IP address in to ignorelist /etc/csf/csf.ignore

How to find IP address blocked in temporary ban grep xxx.xxx.xxx.xxx /etc/csf/csf.tempban

No comments:

Post a Comment