summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-05-16 15:52:41 -0400
committerBen Sima <ben@bsima.me>2024-05-20 23:15:31 -0400
commitb4ab5d32e276c1136d06c4a54845d02d33354fed (patch)
tree51b9ee48b553a7d0449f0cfa6619da785350edb7 /Biz
parent8bb463db7e232bc507d82d602a92cb752c873d79 (diff)
Increase fail2ban maxretry
Default is 3, which is too low, I keep banning myself.
Diffstat (limited to 'Biz')
-rw-r--r--Biz/OsBase.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/Biz/OsBase.nix b/Biz/OsBase.nix
index d9c6be9..3e69d8e 100644
--- a/Biz/OsBase.nix
+++ b/Biz/OsBase.nix
@@ -31,6 +31,7 @@ in {
services.clamav.updater.enable = true; # security
services.fail2ban.enable = true; # security
services.fail2ban.ignoreIP = [ ports.bensIp ]; # my home IP
+ services.fail2ban.maxretry = 10;
services.openssh.enable = true;
services.openssh.openFirewall = true;
services.openssh.settings.X11Forwarding = true;