0

how to block particular ip permanently using csf

I have configured csf in my server. I could receive the mail frequently from a particular IP. Could I able to block that IP permanently. i.e., I shouldn' t receive any mail regarding that IP in notification.

CSF (ConfigServer Security & Firewall) Add a comment
jackson
asked Mar 29 2017

Answer

0

If you need to stop the notification, just add that IP to csf.deny file and reload the CSF service.

# vim /etc/csf/csf.deny
# csf -r

This will permanently block that IP to access your server.

Add a comment
jagannatharumugam
asked Mar 31 2017
edited Oct 05 2018
Post your Answer