Add intl IPs to exceptions in fail2ban #42
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue