Add intl IPs to exceptions in fail2ban

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2024-08-14 16:41:51 +08:00
parent b769b47075
commit fe1b2ceab8
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ in
]; ];
services.fail2ban.enable = true; services.fail2ban.enable = true;
services.fail2ban.ignoreIP = [ "94.190.212.123" "2001:470:18:390::2" ]; services.fail2ban.ignoreIP = [ "94.190.212.123" "2001:470:18:390::2" "5.78.86.156" "2a01:4ff:1f0:83de::1" ];
services.fail2ban.maxretry = 9; services.fail2ban.maxretry = 9;
services.fail2ban.bantime-increment.enable = true; services.fail2ban.bantime-increment.enable = true;
services.fail2ban.jails.sshd = { services.fail2ban.jails.sshd = {