Headless options¶
Servers choices allow for flexible control over what you want to do.
In this example we'll set up a tailscale host to not have to do any port forwarding for Minecraft.
In server options select tailscale and java, you could create or select more profiles at this step.
Depending on what you are trying to achieve.
You can also select a firewall for the host in
Applications
- Get the server.jar file, agree to
eula.txtset to=truein/srv/minecraft/
Used the AUR version (
minecraft-server) but you can also just get the raw file then ranminecraftd start
Then run tailscale up or down when turning the server off.
- Add your devices or friends to
tailscale
For this I followed standard/official install.sh method to add clients.
Launch the server and enjoy playing with your friends.
Default port is tailscale_ip:25565
Be sure to check you firewall configs if runnign several severs profiles.
You can also use stuff like docker or podman to manage this in a more efficient way.
You can apply the same logic to remotely anything.
In instance SteamCMD to run other game servers, or other Linux native server binaries like terraria.