Skip to content

Instantly share code, notes, and snippets.

@bolorino
Created September 28, 2014 17:46
Show Gist options
  • Save bolorino/d40e8ae94547d6b5688e to your computer and use it in GitHub Desktop.
Save bolorino/d40e8ae94547d6b5688e to your computer and use it in GitHub Desktop.
WordPress auth fail2ban filter
# /etc/fail2ban/filter.d/wordpress-auth.conf
[Definition]
failregex = <HOST>.*POST.*(wp-login\.php|xmlrpc\.php).* 403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment