CentOS 6 / RHEL 6 – Install the latest Fail2Ban from Source

CentOS 6 / RHEL Ships with a 3 year old version, which has bugs with iptables, the latest version fixes these. This will fix the fail2ban.actions.action: ERROR.

Do the following as root

Install Dependencies

Download the latest Sources


Start fail2ban at boot

Configure a local jail

Enable the fail2ban Log

Prevent your network being banned
Replace with your ip and netmask

Start fail2ban

Reference: Updating
Only use if the /tmp/fail2ban dir is not empty

1 reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *