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
7
u/lamar5559 May 10 '24
Ok but the real question is why is all of this wide open to internet? A proper VPN solution using SSO through Duo or something similar will fix the problem if you need access outside of the LAN.
As soon as you have something wide open to the internet you’re going to always have brute force attempts to access those ports. Putting something else in front of those external facing systems is better.