- if you can port forward (AKA no CGNAT from your ISP, look it up), only open ports 80/443 for a web server. reverse proxy will handle everything else
- if your router's capable of VLANs, put your homelab network on one. i have no experience with VLANs so i can't help here but there's plenty of guides online and it's best practice
- install
fail2banfirst thing. it takes care of most automated bot login attempts without any configuration - use debian or ubuntu server if you don't wanna suffer. ubuntu server is alright but debian is best bc no snap shit. same package manager (
apt) - best web server to use is caddy it's really fucking simple look at my guide
- do not use password SSH auth PLEASE set up key only auth. passwords are easy to break, keys are way harder. basic guide here
kat / basic_home_server_setup
Last active 3 months ago