diff --git a/bin/ncp/SECURITY/fail2ban.sh b/bin/ncp/SECURITY/fail2ban.sh index 2e47031a4..fbe4fec73 100644 --- a/bin/ncp/SECURITY/fail2ban.sh +++ b/bin/ncp/SECURITY/fail2ban.sh @@ -52,8 +52,12 @@ EOF [INCLUDES] before = common.conf [Definition] -failregex = UFW BLOCK.* SRC= +failregex = UFW BLOCK.* SRC= ignoreregex = +EOF + cat > /etc/systemd/system/fail2ban.service.d/touch-ufw-log.conf <