diff options
| author | Fuwn <[email protected]> | 2024-09-01 20:16:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-01 20:16:11 -0700 |
| commit | 85eab3d3adb47cfa4229c73966aae49312bbc285 (patch) | |
| tree | 3177b77a595c80c452ecec25642c47399000b2f1 /modules/services/fail2ban.nix | |
| parent | ok (diff) | |
| download | nixos-config-85eab3d3adb47cfa4229c73966aae49312bbc285.tar.xz nixos-config-85eab3d3adb47cfa4229c73966aae49312bbc285.zip | |
hi
Diffstat (limited to 'modules/services/fail2ban.nix')
| -rw-r--r-- | modules/services/fail2ban.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/services/fail2ban.nix b/modules/services/fail2ban.nix new file mode 100644 index 0000000..d768eb6 --- /dev/null +++ b/modules/services/fail2ban.nix @@ -0,0 +1,11 @@ +{ + services.fail2ban = { + enable = false; + + ignoreIP = [ + "10.0.0.0/8" + "172.16.0.0/12" + "192.168.0.0/16" + ]; + }; +} |