Files
reverse-proxy/scripts/security/fail2ban/haproxy.local
T

23 lines
495 B
Plaintext

[DEFAULT]
banaction = ufw
banaction_allports = ufw
allowipv6 = no
[haproxy-reject]
enabled = true
filter = haproxy-json-reject
logpath = /var/log/haproxy.log
maxretry = 15
findtime = 600
bantime = 86400
ignoreip = 127.0.0.1/8 192.168.160.0/24 192.168.128.0/17 5.100.81.121
[haproxy-zabbix-403]
enabled = true
filter = haproxy-zabbix-403
logpath = /var/log/haproxy.log
maxretry = 10
findtime = 600
bantime = 86400
ignoreip = 127.0.0.1/8 192.168.160.0/24 192.168.128.0/17 5.100.81.121