-1

I am running CentOS 7 (firewalld not iptables) with the fail2ban v0.9.3.

How do I clear all bans without doing them one by one?

prophoto
  • 342
  • 3
  • 9

1 Answers1

0

The fail2ban-client offers not such an option. May this helps you (firewalld uses iptables).

Or you could try following (not supported):

1. Get the Database location

fail2ban-client get dbfile

2. Stop the fail2ban service

service fail2ban stop

3. Modify the table 'bans'

  • Sqliteman can help you to modify the timestamp or delete entry's
  • You could also try to rename the Database, maybe it will be recreated

4. Start fail2ban Service

service fail2ban start
Oli
  • 3,496
  • 23
  • 32