I’ve developed this tutorial based on the guides from the following locations:https://fedoraproject.org/wiki/Fail2ban_with_FirewallDhttp://www.fail2ban.org/wiki/index.php/MANUAL_0_8
Source: Configuring fail2ban for SSH on CentOS 7 with firewalld – Admin’s Corner