catarina: relax fail2ban
This commit is contained in:
parent
785dc9c67c
commit
6c5127ab17
@ -73,14 +73,14 @@ rec {
|
|||||||
|
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 16;
|
||||||
ignoreIP = [
|
ignoreIP = [
|
||||||
"192.168.0.0/16"
|
"192.168.0.0/16"
|
||||||
];
|
];
|
||||||
bantime = "24h";
|
bantime = "2h";
|
||||||
bantime-increment = {
|
bantime-increment = {
|
||||||
enable = true;
|
enable = true;
|
||||||
multipliers = "1 2 4 8";
|
multipliers = "1 2 4 8 16 32 64";
|
||||||
maxtime = "168h";
|
maxtime = "168h";
|
||||||
overalljails = true;
|
overalljails = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user