2023-10-21 17:55:11 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2023-05-16 11:04:48 +01:00
|
|
|
services.fail2ban = {
|
|
|
|
enable = true;
|
2023-10-21 17:55:11 +01:00
|
|
|
ignoreIP = [ "127.0.0.1/8" "::1" "192.168.1.0/16" ];
|
|
|
|
bantime-increment = { enable = true; };
|
2023-05-16 11:04:48 +01:00
|
|
|
};
|
|
|
|
}
|