Files
ansible-playbooks/roles/fail2ban/templates/jail.local.j2
T
Clément Désiles 24502f543f fix(fail2ban): pass blocktype via banaction to override the ufw action default
jail-level blocktype is ignored (action [Init] wins); it must be
passed as banaction = ufw[blocktype=deny].
2026-09-05 16:57:45 +02:00

8 lines
190 B
Django/Jinja

[DEFAULT]
bantime = 1d
banaction = {{fail2ban_firewall}}[blocktype={{fail2ban_blocktype}}]
allowipv6 = true
ignoreip = 127.0.0.1/8
backend = {{fail2ban_backend}}
ignoreself = true