forked from DGNum/infrastructure
feat(firewall): Sunset fail2ban and switch to reaction
This commit is contained in:
parent
86c1018dc8
commit
fd0aeacff4
12 changed files with 137 additions and 214 deletions
|
@ -3,7 +3,6 @@
|
|||
lib.extra.mkConfig {
|
||||
enabledModules = [
|
||||
# List of modules to enable
|
||||
"dgn-fail2ban"
|
||||
"dgn-web"
|
||||
];
|
||||
|
||||
|
@ -14,11 +13,6 @@ lib.extra.mkConfig {
|
|||
];
|
||||
|
||||
extraConfig = {
|
||||
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
||||
"sshd-bruteforce"
|
||||
"sshd-timeout"
|
||||
];
|
||||
|
||||
# Restrict access to this node
|
||||
dgn-access-control.users.root = [ "thubrecht" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue