fail2ban: increase default ban time

This commit is contained in:
Antoine Martin 2021-02-22 16:18:14 +01:00
parent 92e2e19bbf
commit a1065eb8ab

View file

@ -9,6 +9,13 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.fail2ban.enable = true; services.fail2ban = {
enable = true;
bantime-increment.enable = true;
jails.DEFAULT = ''
bantime = 6h
findtime = 6h
'';
};
}; };
} }