So, you’re the kind of geek that prefers typing console commands rather than clicking through a web interface, well I like that to, so for starters I’ll share 5 useful CSF firewall console commands to make your life easier when checking for blocked IPS and removing the temporary or permanent blocks:
1. Check IP for a permanent block:
csf -g 192.168.1.1
2. Unblock IP from permanent blocks:
csf -dr 192.168.1.1
3. Check temporary IP bans:
csf -t
4. Unblock temporary ban for specific IP:
csf -tr 192.168.1.1
5. Unblock temporary ban for all IPs:
csf -tf