thrall: Increase fail2ban bantime
This commit is contained in:
parent
07177629bc
commit
4d863f6a06
1 changed files with 4 additions and 0 deletions
|
|
@ -322,6 +322,10 @@ in {
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
|
|
||||||
|
bantime = "1h";
|
||||||
|
bantime-increment.enable = true;
|
||||||
|
|
||||||
ignoreIP =
|
ignoreIP =
|
||||||
[ "127.0.0.0/8" "195.90.211.228/22" "10.0.0.0/8" "192.168.0.0/16" ];
|
[ "127.0.0.0/8" "195.90.211.228/22" "10.0.0.0/8" "192.168.0.0/16" ];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue