diff options
| author | Joe Mou <dev@mou.fo> | 2024-06-15 03:14:35 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-10-09 13:48:40 -0400 |
| commit | ba826bd508d45444e08ecf021c0535ef3931cf07 (patch) | |
| tree | 25be81316390c18f731b7267a036b5d5b68641da | |
| parent | 0bc287a042c742c4dd24b9b24fd5e9aeb2523113 (diff) | |
sshguard whitelist to prevent lockout
| -rw-r--r-- | hostnix/elmo/configuration.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hostnix/elmo/configuration.nix b/hostnix/elmo/configuration.nix index 1ee4a16..d143dae 100644 --- a/hostnix/elmo/configuration.nix +++ b/hostnix/elmo/configuration.nix @@ -50,7 +50,11 @@ services.fstrim.enable = true; services.openssh.enable = true; - services.sshguard.enable = true; + + services.sshguard = { + enable = true; + whitelist = [ "192.168.0.0/24" ]; + }; services.locate = { enable = true; |
