Files
nixcfg/modules/fail2ban/default.nix
2023-03-21 21:20:13 +00:00

15 lines
201 B
Nix

{...}:
{
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"
];
};
}