Fail2ban works by filtering a log file with a regular expression triggering a ban
action if the condition is met. After a preset time, it will trigger an unban
action. Without much effort, we can have WordPress log all authentication events and have fail2ban react on them.Continue reading “Using fail2ban to block WordPress login attacks”
Tag Archives: fail2ban
Using fail2ban from behind a Rackspace Cloud LoadBalancer
If your fail2ban is on a host behind a Rackspace Cloud LoadBalancer, you’ll want to block the offending IP addresses directly in your LoadBalancer. If your LB is acting as a reverse proxy, you’ll HAVE to block in the LB, but it is also nice to protect all other nodes behind the LB and offload the lifting.Continue reading “Using fail2ban from behind a Rackspace Cloud LoadBalancer”