Home / Blog / Post
Unblock An Ip Blocked By Fail2ban
Added on 17th June 2019 in General

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.

To Unblock an IP

1. Check the IP Tables for the IP

iptables -L -n

2. Check Active Jails

fail2ban-client status

3. Unban using Fail2Ban

fail2ban-client set JAIL unbanip IPADDRESS


fail2ban-client set ssh unbanip

Hi there, I am christopher shaw, a software developer form South Yorkshire, England.

I love tinkering with all things tech, and opened this website as a web presence for myself and a place to keep my notes and snippets. Hopefully you will find something here to help

Christopher Shaw