Advice On Securing Internal Linux Server w/ A Minecraft Server On It

Posted by snowmenjones@reddit | linuxadmin | View on Reddit | 9 comments

Hey all,

I have an ubuntu headless server that I keep inside my home. I mostly use it to run a minecraft server for my friends and that runs in a separate user in a screen (also my ./start.sh file doesn't require root privilege to run). My regular admin user hosts samba so I can move files between devices easier and stores random things (password protected). I also use it when I find interesting and short code problems. I connect to the server from ssh using ssh keys and a password.

So my question is how secure is the server from the internet? I know having my 25565 port open is a vulnerability, however, any advice to lock it down, or what risks the server is facing, would be appreciated.