Common Commands

Show Overall Ban Status

docker exec -it f2b sh
fail2ban-client status

Show Specific Jail Bans

docker exec -it f2b sh
fail2ban-client status {F2B JAIL NAME}

Unban an IP

docker exec -it f2b sh
fail2ban-client set {F2B JAIL NAME} unbanip {IP}

Unban all IPs

docker exec -it f2b sh
fail2ban-client unban --all

Show Current Config Value

docker exec -it f2b sh
fail2ban-client get {F2B JAIL NAME} {CONFIG SETTING}

Show iptables Rules

iptables -S