Add intl IPs to exceptions in fail2ban
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
b769b47075
commit
fe1b2ceab8
|
@ -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