ufw + fail2ban on CentOS 6.6?

Posted February 25, 2015 2.9k views

How should I install both UFW and fail2ban so they will work well together?

Centos 6.6

Any tips?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Unfortunately to the best of my knowledge ufw cannot be installed on CentOS as it is an Ubuntu specific utility. You can however set up fail2ban to work with iptables.

by Etel Sverdlov
fail2ban provides a way to automatically protect virtual servers from malicious behavior. This tutorial shows you how to download the required EPEL repository needed to install Fail2Ban, copy the Configuration File, configure the fail2ban defaults, and configure the ssh defaults. This tutorial describes the required steps to set up fail2ban on CentOS.