Hardening CentOS 7 (firewalld, selinux)
I recently launched a CentOS 7 droplet and noticed that both firewalld and selinux were disabled by default. Does anyone have a good introductory guide on hardening CentOS 7?
I’m used to setting up an Ubuntu Server install such as:
- ssh hardening (ports, retries, key_auth. fail2ban)
- firewall hardening (ufw)
- application specific hardening
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.