Files
nixcfg/modules/fail2ban/default.nix
2023-05-16 22:35:01 +01:00

14 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"
];
};
}