https://www.virtono.com/community/tutorial-how-to/542/
HOW TO INSTALL AND SET UP FAIL2BAN ON CENTOS SERVER