CSF/LFD: Difference between revisions

From Leo's Notes
This page was last edited on 26 April 2015, at 09:47.
Created page with " == Block / Unblock IP == csf -d <IP> : block IP csf -a <IP> : allow IP csf -dr <IP> : Deny removal csf -ar <IP> : Allow removal Category:Linux"
 
No edit summary
Line 1: Line 1:
== Logging ==
CSF/LFD automatically logs to /var/log/lfd.log
tail /var/log/lfd.log


== Block / Unblock IP ==
== Block / Unblock IP ==

Revision as of 09:47, 26 April 2015

Logging

CSF/LFD automatically logs to /var/log/lfd.log

tail /var/log/lfd.log


Block / Unblock IP

csf -d <IP> : block IP 
csf -a <IP> : allow IP
csf -dr <IP> : Deny removal
csf -ar <IP> : Allow removal