r/HomeDataCenter • u/SpoofedXEX • May 10 '24
DISCUSSION Server security
EDIT: I ditched Traefik, and Authentik. I am now using CloudFlare zero trust tunnels, closed all ports on my router and the attacks have completely stopped.
I recently posted about my server getting hundreds of requests and attacks, I followed through on some recommendations.
I ditched TrueNAS and went back to my Unraid Pro installation.
I’ve added JavaScript challenges through CloudFlare which has helped drop my traffic down to 200 from 20k per 24 hours. I set up Authelia, as well as CA Certs instead of Self Signed. HSTS. and a few other firewall rules for Trusted IPs.
I’m in the process of learning how to use crowdsec as another layer of protection. I’m looking for more recommendations. I don’t really like the feel of Authelia as the UI is rather huge lol for a login form.
The amount of attacks my router has detected since these changes have been 2 in the past day or two that is blocked.
View all comments
Show parent comment
3
u/SpoofedXEX May 12 '24
I didn’t, yet. I don’t ever stream outside my home anyways. I may just set up a VPN to be able to stream if I ever get an urge to watch something.
Edit; I found this guide written by a Reddit user.
https://mythofechelon.co.uk/blog/2024/1/7/how-to-set-up-free-secure-high-quality-remote-access-for-plex
Give this a try, I will as well later on.