fail2ban: increase default ban time
This commit is contained in:
parent
92e2e19bbf
commit
a1065eb8ab
|
@ -9,6 +9,13 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.fail2ban.enable = true;
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
bantime-increment.enable = true;
|
||||
jails.DEFAULT = ''
|
||||
bantime = 6h
|
||||
findtime = 6h
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue