added fail2ban
This commit is contained in:
parent
f7a69c79d2
commit
e5c45cc51e
1 changed files with 14 additions and 3 deletions
|
|
@ -44,9 +44,9 @@ in
|
|||
LOGGENERATIONS = "14";
|
||||
};
|
||||
|
||||
services.logrotate = {
|
||||
enable = true;
|
||||
};
|
||||
#services.logrotate = {
|
||||
# enable = true;
|
||||
#};
|
||||
|
||||
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
|
@ -66,7 +66,18 @@ in
|
|||
passwordAuthentication = false;
|
||||
extraConfig = "ClientAliveInterval 60";
|
||||
};
|
||||
|
||||
tailscale.enable = true;
|
||||
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
ignoreIP =
|
||||
[
|
||||
"100.64.0.0/16"
|
||||
];
|
||||
};
|
||||
|
||||
atd.enable = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue