Configuring Fail2Ban
Fail2Ban is a great tool block remote IP addresses from failed authentication attempts by writing iptables rules and alerts these events via email. On CentOS, Fail2ban is part of the EPEL repository. It resolves remote IP address via whois. CentOS has pwhois (requires a symlink, ie: ln…