security: increase f2b sec
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
This commit is contained in:
parent
85a2f7327a
commit
42db292376
1 changed files with 6 additions and 2 deletions
|
@ -49,13 +49,17 @@
|
|||
};
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
maxretry = 3;
|
||||
bantime = "10m";
|
||||
ignoreIP = [
|
||||
"192.168.0.0/16"
|
||||
"172.16.0.0/12"
|
||||
"10.0.0.0/8"
|
||||
"5.161.181.184"
|
||||
];
|
||||
extraSettings = {
|
||||
findtime = 100000;
|
||||
bantime = 100000;
|
||||
maxretry = 1;
|
||||
mode = "aggressive";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue