Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to unban ip? #173

Open
luciandf opened this issue Sep 2, 2024 · 1 comment
Open

how to unban ip? #173

luciandf opened this issue Sep 2, 2024 · 1 comment

Comments

@luciandf
Copy link

luciandf commented Sep 2, 2024

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

@pedroetb
Copy link
Contributor

# 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants