Posted on Monday 17th June 2019
Fail2Ban is a tool used on web servers for protecting unauthorised access through bruit force attempts.
This works by allowing a small amount of login attempts before it drops the remote IP into the iptables and blocking them untill fail2ban unblocks. Occasionally this can catch out genuine login attempts.
iptables -L -n
fail2ban-client status
fail2ban-client set JAIL unbanip IPADDRESS
e.g
fail2ban-client set ssh unbanip 8.8.8.8