NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

How To Set Up A Private Minecraft Server

Minecraft is a popular multiplayer video game. Players can connect to a Minecraft server hosted within their running game or to a separate server hosting a Minecraft world.



Without Tailscale, setting up a Minecraft server to be reachable from outside the home means either:



- paying for third party hosting, or - opening ports in the firewall, potentially allowing access to any rando on the Internet



With Tailscale, you can share it from anywhere with just the people you want.



This guide will demonstrate how to set up a Minecraft server bedrock_server and connect from anywhere using Tailscale.



Prerequisite: a Linux server



You will need a server. These instructions assume a Linux server or VM running within the home, behind a firewall. Tailscale lets clients connect to computers wherever they are, so you do not need to worry about the accessibility of the machine. It just needs to be on the internet. If you sign up for a VM hosted by a cloud provider, please make sure to block almost all access in the firewall.



The instructions in this guide assume you are using Ubuntu or Debian, though the changes for other Linux distributions are small.



Step 1: Set up bedrock_server on Linux



The bedrock_server supports both Windows and Linux. We'll cover Linux in this guide.



We recommend creating a user to run the Minecraft server, and installing some packages we'll need later:



Download the current version of the Linux bedrock_server binary from https://www.minecraft.net/en-us/download/server/bedrock. It is best to do this as the minecraft user just created:



Minecraft bedrock_server is updated relatively frequently, and when the Minecraft game app is updated it requires the new version of the server. So we'll prepare for future updates by storing the server files in git:



Each successive bedrock_server update can be stored in git. Pay special attention to permissions.json and server.properties, where any future bedrock_server will overwrite any customizations you may have made.



systemd



systemd is a way to automatically start services when the system boots. We'll create a few files to have bedrock_server start automatically.



/etc/systemd/system/minecraft.service



/opt/minecraft/start.sh



/opt/minecraft/stop.sh



Also make the shell scripts executable: chmod +x /opt/minecraft/start.sh /opt/minecraft/stop.sh



As root you should now systemctl start minecraft and voila, you are running a Minecraft bedrock edition server.



As the minecraft user, you can connect to tmux to see the server console:



To detach from tmux and leave bedrock_server running, press Ctrl-B then "d" for detach.



Step 2: Install Tailscale on the server



Tailscale is available for essentially any modern Linux distribution, though the installation instructions may vary slightly.
https://souldevteam.net/


Download Tailscale



Once installed and active on the tailnet, the Minecraft bedrock_server can be reached from any of your other Tailscale clients.



Step 3: Play Minecraft



You'll need the Tailscale client installed, from the App Store for iOS devices and the Play Store for Android. You'll also need the Minecraft app.



In the Minecraft app, select "Play" then the "Servers" tab. There will be a number of promoted third-party servers in the list, but scrolling to the bottom there will be a button to "Add Server"



Add the details of the server just created, including the Tailscale IP address (the 100.x.y.z IP address, which can be looked up in the Tailscale app or in the admin console for your network)



You'll be asked to login to XBox Live before being allowed to connect to the server. live.com accounts are free, and you don't have to have an XBox to create one. Tailscale never receives the live.com account, Minecraft simply requires it before connecting.


Website: https://souldevteam.net/
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.