How to install and configure Fail2ban on Ubuntu 12.04 to Stop Brute Force Attacks

Fail2Ban is an intrusion prevention framework written in the Python programming language. It works by reading SSH, ProFTP, Apache logs etc.. and uses iptables profiles to block brute-force attempts. Install Fail2ban:

Configure Fail2ban: The original configuration file of fail2ban is /etc/fail2ban/jail.conf. We will create a local copy of configuration file.

Now we will […]
Continue reading…