initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
16
modules/nixos/ssh/ssh_guard.nix
Normal file
16
modules/nixos/ssh/ssh_guard.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.sshguard = {
|
||||
enable = true;
|
||||
services = [
|
||||
"sshd"
|
||||
];
|
||||
blocktime = 120;
|
||||
detection_time = 1800;
|
||||
blacklist_threshold = 120;
|
||||
blacklist_file = "/var/lib/sshguard/blacklist.db";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue