diff --git a/config/security/fail2ban.nix b/config/security/fail2ban.nix index 1c6b9d6..0670df5 100644 --- a/config/security/fail2ban.nix +++ b/config/security/fail2ban.nix @@ -2,12 +2,11 @@ services.fail2ban = { enable = true; maxretry = 5; - bantime = "6h"; + bantime = "24h"; bantime-increment = { enable = true; formula = "ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)"; - multipliers = "1 2 4 8 16 32 64"; - rndtime = "6h"; + rndtime = "12h"; overalljails = true; }; };