nixos/fail2ban: Enable jails by default
With jails defaulting to 'enabled = true', the sshd jail that NixOS defines will now be enabled. [Bjørn: tweak commit message]
This commit is contained in:
parent
bb288f43af
commit
f16594e18b
@ -138,6 +138,7 @@ in
|
|||||||
findtime = 600
|
findtime = 600
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
backend = systemd
|
backend = systemd
|
||||||
|
enabled = true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Block SSH if there are too many failing connection attempts.
|
# Block SSH if there are too many failing connection attempts.
|
||||||
|
Loading…
Reference in New Issue
Block a user