How to Unban an IP properly with Fail2Ban

Posted by psp on Server Fault See other posts from Server Fault or by psp
Published on 2011-06-29T11:43:19Z Indexed on 2011/11/30 1:54 UTC
Read the original article Hit count: 589

Filed under:
|
|

I'm using Fail2Ban on a server and I'm wondering how to unban an IP properly.

I know I can work with IPTables directly: iptables -D fail2ban-ssh <number>

But is there not a way to do it with the fail2ban-client?

In the manuals it states something like: fail2ban-client get ssh actionunban <IP>. But that doesn't work.

Also, I don't want to /etc/init.d/fail2ban restart as that would lose all the bans in the list.

© Server Fault or respective owner

Related posts about firewall

Related posts about iptables