How to Unban an IP properly with Fail2Ban
- by psp
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.