Skip to content

Headless options

Intro

Servers choices allow for flexible control over what you want to do. You can select multiple profiles, if desired.

Example

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.

image

You can also select a firewall for the host in Applications

  • Get the server.jar file, agree to eula.txt set to =true in /srv/minecraft/

Used the AUR version (minecraft-server) but you can also just get the raw file then ran minecraftd 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.

image

Launch the server and enjoy playing with your friends.

image

Default port is tailscale_ip:25565

Containers/Firewalls

Be sure to check your firewall configs if running several server profiles. You can also use stuff like docker or podman to manage this in a more efficient way.

Docker/Podman publish their own iptables chain that bypasses ufw but it still protects the host regardless. Make sure to only enable needed ports or use reverse proxies.


Others

You can apply the same logic to remotely anything.

For instance SteamCMD to run other game servers, or other Linux native server binaries like terraria.