diff --git a/fail2ban/jail.d/anatram.com.br.protecao-contra-bots.conf b/fail2ban/jail.d/anatram.com.br.protecao-contra-bots.conf index a21cdad..a90547b 100644 --- a/fail2ban/jail.d/anatram.com.br.protecao-contra-bots.conf +++ b/fail2ban/jail.d/anatram.com.br.protecao-contra-bots.conf @@ -19,7 +19,8 @@ enabled = true # M (mail): Envia um e-mail de notificação. # W (whois): Inclui informações Whois do IP no e-mail. # L (log): Adiciona o banimento ao log dedicado do Fail2ban. -action = %(action_mwl)s +action = iptables-multiport[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] + mail-whois-lines # PORTAS: # Especifica quais portas serão bloqueadas pelo firewall.