forked from M-Labs/it-infra
nixbld: ignore local IP for fail2ban
This commit is contained in:
parent
755bfaf593
commit
3b224c56aa
|
@ -52,6 +52,7 @@ in
|
||||||
|
|
||||||
security.apparmor.enable = true;
|
security.apparmor.enable = true;
|
||||||
services.fail2ban.enable = true;
|
services.fail2ban.enable = true;
|
||||||
|
services.fail2ban.ignoreIP = [ "42.200.147.171" "2001:470:18:629::2" ];
|
||||||
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 =
|
||||||
|
|
Loading…
Reference in New Issue