security: formatting

This commit is contained in:
notohh 2023-07-06 18:07:43 -04:00
parent 6ebca0f9d3
commit f5ad33c734
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -49,6 +49,8 @@
}; };
services.fail2ban = { services.fail2ban = {
enable = true; enable = true;
bantime = "1h";
maxretry = 1;
ignoreIP = [ ignoreIP = [
"192.168.0.0/16" "192.168.0.0/16"
"172.16.0.0/12" "172.16.0.0/12"
@ -57,8 +59,6 @@
]; ];
extraSettings = { extraSettings = {
findtime = 100000; findtime = 100000;
bantime = 100000;
maxretry = 1;
mode = "aggressive"; mode = "aggressive";
}; };
}; };