Considerations for a homeserver thats open to the internet? (Jellyfin / Nextcloud)
nbailey @ nbailey @lemmy.ca Posts 5Comments 154Joined 2 yr. ago

nbailey @ nbailey @lemmy.ca
Posts
5
Comments
154
Joined
2 yr. ago
Best advice I can give is to make sure the default virtualhost on nginx/apache just sends a 404 to all requests to your IP, and only serve the apps you want when they’re accessed by the correct hostname. The vast majority of spammy scanners are just hitting all public IPs, so as long as you don’t tell them what you’re hosting you’ll be alright.
Then, I’d advise having some sort of basic web application firewall (WAF). Modsecurity is a common one, NAXSI is another. These take some time to set up, but are quite good at absorbing attempted attacks.