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 set JAIL unbanip IPADDRESS
fail2ban-client set ssh unbanip 18.104.22.168