SSH daemon is a service that must be exposed to the
Internet to function properly. This comes with some
inherent risk and offers a vector of attack for
would-be assailants. If you pay attention to
application logs for these services, you will often
see repeated, systematic login attempts that
represent brute-force attacks by users and bots alike.
A service called Fail2ban can mitigate this problem
by creating rules that automatically alter your
iptables firewall configuration based on a predefined
number of unsuccessful login attempts. This will
allow your server to respond to illegitimate access
attempts without intervention from you.
In this video guide, we'll cover how to install and
use Fail2ban on a CentOS 7 server.
PS: In this video, i will use CentOS 7 which i
installed and configured initial settings before.
These videos can be found in my youtube channel named
"Initial Server Setup with CentOS 7" (URL= • Initial Server Setup with CentOS 7 ) and "How To Install LAMP stack On CentOS 7" (URL= • How To Install Linux, Apache, MySQL, ... )