diff --git a/roles/config-fail2ban/templates/jail.j2 b/roles/config-fail2ban/templates/jail.j2 index aa2d89b..69a8295 100644 --- a/roles/config-fail2ban/templates/jail.j2 +++ b/roles/config-fail2ban/templates/jail.j2 @@ -12,6 +12,8 @@ maxretry = {{ maxretry }} findtime = {{ findtime }} destemail = sysadmin@verdnatura.es sender = root@{{ ansible_nodename }}.verdnatura.es +banaction = nftables-multiport +banaction_allports = nftables-allports action = %(action_mwl)s #+++++++++++++++++++++++++++++++++++++