Installation
- Ensure WP fail2ban is installed.
- Upload to your plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Opt into Freemius; the blocklist will not work without without this.
- The Blocklist Network Service (BNS) uses the WordPress REST API to communicate. If there is another security plugin installed be sure it allows access to the blocklist endpoint:
- Important: ensure you set
maxretry = 1
in your wordpress-hard or wordpress-blocklist-hard filter; the add-on will not work otherwise.
Optionally, if you want to use custom jails:
- Configure syslog to use a new file for one of the local facilities (local0...7).
- Configure WP fail2ban to use the local facility you chose.
- Configure fail2ban with new jails reading from the new syslog file using the new blocklist filters.
- Enable the “Custom Jail” option (or define WP_FAIL2BAN_ADDON_BLOCKLIST_CUSTOM_JAIL as true).