Skip to content
jail.local 408 B
Newer Older
Pete's avatar
Pete committed
# ++++++++++++++++++++++++++++++++++++++++++++++++++++
# + NetworkSEC / NwSEC Layer 7 Bruteforce Protection +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++
Pete's avatar
Pete committed
#
Pete's avatar
Pete committed
# This goes into /etc/fail2ban/jail.local on Debian/GNU Linux
Pete's avatar
Pete committed
#
Pete's avatar
Pete committed
[nws-wp]
enabled = true
filter = nws-wp
action = iptables-multiport[name=nws-wp, port="http,https"]
logpath = /var/www/clients/client*/web*/log/*.log
bantime = 1200
maxretry = 5