WP Fail2ban Proxies WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Add support for popular proxies to WP Fail2ban
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ethanclevenger91/wp-fail2ban-proxies/archive/refs/heads/master.zipAdd support for popular proxies to the WP Fail2ban plugin.
Installation
- Have the WP Fail2ban plugin installed and active.
- Upload plugin in WordPress dashboard
- Activate plugin
- Add either
define('CLOUDFLARE_ENABLED', true);ordefine('FASTLY_ENABLED', true);to yourwp-config.phpfile.
Description
If your traffic runs through a proxy service like Cloudflare or Fastly, all incoming traffic is coming from their IPs. When fail2ban blocks a brute force attack, it uses these IP addresses, which can cause valid users to get blocked as well!
WP Fail2ban supports adding proxy IP addresses to its configuration and will inspect the X-Forwarded-For header on requests in this case.
This plugin automatically updates the published IP addresses for popular proxy services so that WP Fail2ban plays nicely with them. When those services update their IP ranges, the plugin automatically fetches them.
FAQ
How to use?
This plugin currently supports Cloudflare and Fastly. Only activate support for one at a time. To enable support, and add either define('CLOUDFLARE_ENABLED', true); or define('FASTLY_ENABLED', true); to your wp-config.php file.
Does this plugin support "X"?
If you're using a proxy or CDN this plugin doesn't already support, contact ethan@sternerstuffdesign.com to inquire about adding support.
Changelog
1.0.0
- Initial release
Releases
3 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.