setup fail2ban with expected internal IP ranges on ignore

This commit is contained in:
TheWanderingCrow 2026-03-16 10:23:02 -04:00
parent 8d2453f31f
commit fb241568a2

View file

@ -32,5 +32,11 @@
};
};
#services.fail2ban.enable = lib.mkDefault true; # This comes with an SSH jail preconfigured, expanded fail2ban can be found in modules/services
services.fail2ban = {
enable = lib.mkDefault true;
ignoreIP = [ # Expected internal IP ranges
"172.16.0.0/12"
"192.168.0.0/16"
];
};
}