r/Gentoo • u/birds_swim • 1h ago
Discussion Easy ways to harden your system?
I am: Gentoo, glibc, systemd, and default bin kernel.
I picked Gentoo for my primary homelab server (running on a Beelink SER7). I wanted to use Gentoo because I thought it would help me with learning CompTIA Network+ and Security+ (working on Network first, haven't bought the Security+ book yet).
After crafting "The Golden Base" (Snapper, LXC, Devbox/Nix, and Debian VM+Docker via VirtManager), I was going to look into some light hardening for my system just to give it a little bit better security while I work my way up in my knowledge.
This little server runs 24/7 and is responsible for running all of my services on behalf of my Synology NAS. The only port I intend to open on my network is UDP for WireGuard.
What are my options for some light hardening other than just letting Gentoo run around in its birthday suit?
Or is it better to just switch to a hardened profile + SELinux and just leave SELinux in permissive mode until I build up my knowledge?
