Fail2ban

fail2ban config for Wordpress running in Docker

This environment: CentOS 7.x WP 5.x PHP 7.x Fail2ban 0.11.x WP/PHP running in Docker In /etc/fail2ban/filter.d/wplogin.conf: [Definition] failregex = .*php7:notice.*\[client (<HOST>).*wp-admin.*Password Mismatch ignoreregex = Then in the WP home, we want to log errors to SYSLOG.