diff --git a/modules/core/fail2ban.nix b/modules/core/fail2ban.nix index 2681d43..5c08578 100644 --- a/modules/core/fail2ban.nix +++ b/modules/core/fail2ban.nix @@ -15,13 +15,14 @@ enabled = true # aggressive mode to add blocking for aborted connections filter = dovecot[mode=aggressive] - maxretry = 3 + maxretry = 15 ''; postfix = '' enabled = true filter = postfix[mode=aggressive] - maxretry = 3 + maxretry = 15 ''; + sshd.settings.maxretry = 15; }; }; }