feat: add ssh guard

This commit is contained in:
gwg313 2024-02-04 12:52:53 -05:00
parent 1b98ea698d
commit d655186dc0
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
5 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{...}: {
services.sshguard = {
enable = true;
services = [
"sshd"
];
blocktime = 120;
detection_time = 1800;
blacklist_threshold = 120;
blacklist_file = "/var/lib/sshguard/blacklist.db";
};
}