10 lines
211 B
Nix
10 lines
211 B
Nix
|
{ config, pkgs, ... }: {
|
||
|
services.fail2ban = {
|
||
|
enable = true;
|
||
|
maxretry = 5;
|
||
|
ignoreIP = [ "127.0.0.0/8" "10.0.0.0/8" "192.168.0.0/16" "78.94.116.222" ];
|
||
|
bantime-increment.enable = true;
|
||
|
};
|
||
|
}
|
||
|
|