Skip to content

Instantly share code, notes, and snippets.

@Coopeh
Created May 23, 2013 13:03
Show Gist options
  • Save Coopeh/5635885 to your computer and use it in GitHub Desktop.
Save Coopeh/5635885 to your computer and use it in GitHub Desktop.
Fail2Ban jail.conf example for blocking bad auth in WordPress
[wordpress-admin]
enabled = true
filter = wordpress-admin
action = iptables-allports[name=PrimaryBlogger-admin, protocol=all]
logpath = /var/log/nginx/pblogger-error.log
findtime = 10800
bantime = 86400
maxretry = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment