security: harden lazyworkhorse with firewall, fail2ban, SSH hardening #28
@@ -356,8 +356,7 @@
|
||||
# Fail2ban - automatic IP banning
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
maxRetry = 3;
|
||||
findtime = 600;
|
||||
maxretry = 3;
|
||||
bantime = 3600;
|
||||
banaction = "iptables-multiport";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user