security: formatting
This commit is contained in:
parent
6ebca0f9d3
commit
f5ad33c734
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue