Add fail2ban

This commit is contained in:
2023-03-21 21:20:13 +00:00
parent f8ca661d58
commit 6b40745b29
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{...}:
{
services.fail2ban = {
enable = true;
maxretry = 5;
ignoreIP = [
"127.0.0.1/8"
"10.0.0.0/8"
"172.16.0.0/12"
"192.168.0.0/16"
"8.8.8.8"
];
};
}