From 3b224c56aabad4dc07e271607a5813c6290d5261 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 24 Dec 2022 15:42:35 +0800 Subject: [PATCH] nixbld: ignore local IP for fail2ban --- nixbld-etc-nixos/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 851ca575..d6477447 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -52,6 +52,7 @@ in security.apparmor.enable = true; services.fail2ban.enable = true; + services.fail2ban.ignoreIP = [ "42.200.147.171" "2001:470:18:629::2" ]; services.fail2ban.maxretry = 9; services.fail2ban.bantime-increment.enable = true; services.fail2ban.jails.sshd =