From 7fc7eb949bd1771a2c123913633a1290704eee89 Mon Sep 17 00:00:00 2001 From: Bun Date: Sun, 23 Mar 2025 12:57:17 -0400 Subject: [PATCH] Add local exception to fail2ban --- modules/system/services/general/ssh/fail2ban/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/services/general/ssh/fail2ban/default.nix b/modules/system/services/general/ssh/fail2ban/default.nix index acc00f8c..abe98df5 100644 --- a/modules/system/services/general/ssh/fail2ban/default.nix +++ b/modules/system/services/general/ssh/fail2ban/default.nix @@ -4,6 +4,7 @@ enable = true; maxretry = 5; bantime = "10m"; + ignoreIP = [ "10.0.0.0/8" ]; }; environment.persistence."/persist".directories = [ "/var/lib/fail2ban" ];