summaryrefslogtreecommitdiff
path: root/modules/core/networking/firewall/fail2ban.nix
blob: 606b7252bb1abf17736c3a2e2530215bb0852f05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:
{
  services.fail2ban = {
    enable = false;

    extraPackages = with pkgs; [
      nftables
      ipset
    ];

    ignoreIP = [
      "10.0.0.0/8"
      "172.16.0.0/12"
      "100.64.0.0/16"
      "192.168.0.0/16"
    ];
  };
}