crazy-max / docker-fail2ban

Fail2ban Docker image
MIT License
620 stars 77 forks source link

Help I banned my WAN IP and Unbanning command did not work #129

Closed cremonies closed 1 year ago

cremonies commented 1 year ago

Synology NAS Fail2Ban is installed on Host Network. I was testing a new jail and filter and banned my WAN IP. I then ran the command: sudo docker exec -t fail2ban fail2ban-client unban --all IP was unbanned but I still do not have access from WAN.

How do I resolve this?

Jail [DEFAULT] ignoreip = 192.168.1.1/24 172.20.0.0/16

Ban for 30 days

bantime = 2592000 findtime = 86400 maxretry = 4 backend = auto [jellyfin] enabled = true chain = DOCKER-USER port = 80,443 filter = jellyfin logpath = /jellyfin/log/log*.log

filter: [INCLUDES] before = common.conf

[Definition] failregex = ^.Authentication request for "." has been denied (IP: ""). ignoreregex =

Action: IP table [Init] blocktype = DROP [Init?family=inet6] blocktype = DROP

Docker Compose: version: '3' services: fail2ban: container_name: fail2ban restart: unless-stopped image: crazymax/fail2ban:latest environment:

cremonies commented 1 year ago

sorry it was actually a DNS PROBE FINISHED NXDOMAIN Error.