csf deny
list
================
vi /etc/csf/csf.deny
vi /etc/csf/csf.tempip
vi /etc/csf/csf.tempban
csf log -/var/log/lfd.log
=================================
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
login to shell then add IP address in to /etc/csf/csf.ignore
How to find IP address blocked in temporary ban.
grep xxx.xxx.xxx.xxx /etc/csf/csf.tempban
Disable csf and lfd
csf -x
Enable csf and lfd
csf -e
------------------------------------------------------------
================
vi /etc/csf/csf.deny
vi /etc/csf/csf.tempip
vi /etc/csf/csf.tempban
csf log -/var/log/lfd.log
=================================
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
login to shell then add IP address in to /etc/csf/csf.ignore
How to find IP address blocked in temporary ban.
grep xxx.xxx.xxx.xxx /etc/csf/csf.tempban
Disable csf and lfd
csf -x
Enable csf and lfd
csf -e
------------------------------------------------------------
No comments:
Post a Comment