Add fail2ban to server hosts
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m52s

This commit is contained in:
Jordan Holt 2024-05-22 07:48:45 +01:00
parent d8464519ba
commit 8bc751926c
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -41,6 +41,19 @@
};
};
services.fail2ban = {
enable = true;
bantime = "1h";
bantime-increment = {
enable = true;
maxtime = "24h";
rndtime = "7m";
};
ignoreIP = [
"100.64.0.0/10"
];
};
modules.networking.tailscale = {
enable = true;
restrictSSH = false;