docker-fail2ban icon indicating copy to clipboard operation
docker-fail2ban copied to clipboard

how to unban ip?

Open luciandf opened this issue 1 year ago • 1 comments

as the title says. I would like to unban an ip. How do I do it?

luciandf avatar Sep 02 '24 22:09 luciandf

# get jail status
docker exec -t <container> fail2ban-client status <jail>

# unban ip, single jail
docker exec -t <container> fail2ban-client set <jail> unbanip <ip>

# unban ip, all jails
docker exec -t <container> fail2ban-client unban <ip>

# unban all, all jails
docker exec -t <container> fail2ban-client unban --all

pedroetb avatar Oct 13 '24 14:10 pedroetb

  • https://github.com/crazy-max/docker-fail2ban?tab=readme-ov-file#use-fail2ban-client
  • https://github.com/fail2ban/fail2ban/blob/master/man/fail2ban-client.1

crazy-max avatar Dec 24 '24 17:12 crazy-max