Enable fail2ban on router.

This commit is contained in:
Nolan Darilek 2025-07-21 17:44:42 -04:00
parent 4c36cda966
commit 37f3ad702a

View file

@ -276,7 +276,6 @@
}; };
}; };
}; };
caddy = { caddy = {
enable = true; enable = true;
virtualHosts."router.tailc50184.ts.net".extraConfig = '' virtualHosts."router.tailc50184.ts.net".extraConfig = ''
@ -292,6 +291,7 @@
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:6b", NAME="lan3" ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:6b", NAME="lan3"
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:6c", NAME="lan4" ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e2:69:96:fb:6c", NAME="lan4"
''; '';
fail2ban.enable = true;
}; };
# Enable the Flakes feature and the accompanying new nix command-line tool # Enable the Flakes feature and the accompanying new nix command-line tool