fail2ban with mysql

Steps to configure: Copy /etc/fail2ban/jail.conf to /etc/fail2ban/jail.local Enable jail by: enabled = yes Do not forget to enable your internal IPs Good Note from https://talk.plesk.com/threads/fail2ban-log-bans-to-mysql.344162/: You could define actions that insert directly into you mysql database like: actionban = printf