Sending people to ssh jail

This commit is contained in:
Julien Malka 2021-12-29 11:34:55 +01:00
parent 8e4ddf4ef0
commit 3bce60caa4
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
3 changed files with 42 additions and 0 deletions

View file

@ -34,6 +34,8 @@
nix.maxJobs = lib.mkDefault 4;
services.fail2ban.enable = true;
networking.hostName = "lisa";
networking.interfaces.ens18.useDHCP = true;
networking.interfaces.ens19.useDHCP = false;

View file

@ -21,6 +21,8 @@ in
networking.interfaces.enp2s0f0.useDHCP = true;
networking.interfaces.enp2s0f1.useDHCP = true;
services.fail2ban.enable = true;
services.zfs.autoSnapshot.enable = true;
services.zfs.autoScrub.enable = true;