# WordPress Login Ban
# Using WP Fail2Ban
enabled = true
filter = wordpress
action =iptables-multiport[name=wordpress, port=”http,https”]
sendmail-whois[name=WordpressFail, firstname.lastname@example.org, email@example.com]
logpath = /var/log/auth.log
maxretry = 5
bantime = -1
findtime = 86400
This is setup to give the ability to scan the log files and anyone that fails the WordPress login more than 5 times in a 24 hour period to have their IP address banned indefinitely.
- The topic ‘Possible Jail Config’ is closed to new replies.