Disable IP Block Alerts in CSF Firewall

To disable IP block alert in CSF firewall, run

sed -i "s/LF_PERMBLOCK_ALERT\s*=.*$/LF_PERMBLOCK_ALERT = \"0\"/g" /etc/csf/csf.conf

Restart lfd and csf

systemctl restart lfd
csf -r

See csf firewall

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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