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. #Fail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. Written in the #Python programming language, it is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, for example, iptables or TCP Wrapper.
log if fail2ban has been started.
You'll also see output related to fail2ban activity.
If you installed failed2ban via the package manager or software center, you should see entries in the /etc/rc* directories for fail2ban, which indicate (on default settings and without customization) that it will run on startup.
How to Install and Configure Fail2ban on Ubuntu 20.04?
Run the following commands:
$ sudo apt update
$ sudo apt install fail2ban
$ sudo systemctl status fail2ban