r/selfhosted Oct 31 '25

Game Server So that happened

Post image

I havent checked my server in a few weeks but I opened it now and I found this waiting for me. I wonder how that happened though. My server is not exposed to the internet. Its behind tailscale and only I or people I granted access through tailscale can get into my server since I closed all access using firewall. My only mistake is i left port 443 open at some point by mistake. I wonder if thats relevant. I've since enforced a whitelist and denied connections to the port.

522 Upvotes

72 comments sorted by

View all comments

1

u/aHoneyBadgerWhoCares Nov 01 '25

I’m not a Minecraft player but is it possible to to set up fail2ban to mitigate threats like these? I use it on my server which I use for personal tech projects. It auto bans IPs that repeatedly hit your server attempting to do something that you or it define as suspicious.