Tag : centos7

Home » Posts tagged centos7"

Install fail2ban from EPEL repo. yum install –y epel–release yum install –y fail2ban fail2ban–systemd   Deal with SELinux, there are two options to choose from. Update SELinux Policy yum update –y selinux–policy* OR Disable SELinux Configure fail2ban, we prefer iptables-services here. 1 2 3 4 5 6 7 yum –y install iptables–services systemctl mask firewalld.service ..

Read more

Fail2ban helps to protect servers from brute-force attacks. It bans malicious IPs from accessing SSH. Part I – Fail2ban with FirewallD Install fail2ban from EPEL repo. 1 2 yum install –y epel–release yum install –y fail2ban fail2ban–systemd   Deal with SELinux, there are two options to choose from. Update SELinux Policy 1 yum update –y ..

Read more