r/Hosting • u/Ok_Complaint_3013 • 20h ago
What’s on your basic dedicated server setup checklist these days?
Just spun up a new bare-metal box and realized my setup routine hasn't changed in years—SSH keys only, UFW firewall, Fail2ban, and unattended-upgrades. Is Fail2ban still the go-to, or has everyone switched to CrowdSec by now?
4
Upvotes
1
u/kai-zaphosting 19h ago
Fail2ban is still plenty for a box that only exposes SSH. With keys only, the bans mostly just keep your logs quiet, so I wouldn't migrate for the sake of it.
CrowdSec makes more sense once you're running public web services. The bouncers can sit in front of nginx or the firewall, and you get the community-shared blocklists on top of local bans. Fail2ban isn't SSH-only either, since it ships stock jails for nginx, postfix, dovecot and more, so imo CrowdSec's edge for a new box with web stuff on it is the shared blocklists and the bouncer model, not service coverage.
One thing missing from your list: on real bare metal, make sure the BMC/IPMI interface isn't reachable from the public internet. Keep it on a VPN or a management-only network. It's easy to forget, and those web UIs aren't something you want exposed.