csf -a IP
; Allow IP, use /etc/csf/csf.allow instead
csf -d IP
; Block an IP
csf -dr IP
; Remove an IP block
csf -e
; Enable csf
csf -g IP
; Check for blocks on IP
csf -ra
; Restart csf
csf -cd
; cluster deny ip
csf -cr
; cluster unblock ip
csf -t
; Check for blocks
csf -ta IP
; temporarily allow an IP
csf -td IP
; temp block
csf -tr IP
; Remove temp block for ip
csf -u
; Update to new version
csf -v
; Output version
csf -x
; Disable csf
Created
June 30, 2024 10:21
-
-
Save ngrogg/36c6e917f7ad21e4d2c2fa5790832c71 to your computer and use it in GitHub Desktop.
Some useful CSF commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment