LogoLogo
DownloadBlog
  • Overview
  • Getting started
    • Meshnet explained
    • How to start using Meshnet
      • Using Meshnet on Windows
      • Using Meshnet on Android
      • Using Meshnet on iPhone/iPad
      • Using Meshnet on macOS
      • Using Meshnet on Linux
      • Using Meshnet on Android TV
    • How to use Meshnet securely
  • Features
    • Linking devices in Meshnet
      • Linking external Meshnet devices on Windows
      • Linking external Meshnet devices on Android
      • Linking external Meshnet devices on iPhone/iPad
      • Linking external Meshnet devices on macOS
      • Linking external Meshnet devices on Linux
      • Linking external Meshnet devices on Android TV
    • Explaining permissions
      • Remote access permissions
      • File sharing permissions
      • Traffic routing permissions
      • Local network permissions
    • Renaming devices in Meshnet
      • Renaming devices on Windows
      • Renaming devices on Android
      • Renaming devices on iPhone/iPad
      • Renaming devices on macOS
      • Renaming devices on Linux
    • Sharing files in Meshnet
      • Sharing files on Windows
      • Sharing files on Android
      • Sharing files on iPhone/iPad
      • Sharing files on macOS
      • Sharing files on Linux
      • Sharing files on Android TV
    • Routing traffic in Meshnet
      • Routing traffic from Windows
      • Routing traffic from Android
      • Routing traffic from iPhone/iPad
      • Routing traffic from macOS
      • Routing traffic from Linux
      • Routing traffic from Android TV
  • How-to guides
    • Gaming
      • How to set up a private Minecraft server with Meshnet
      • How to set up a private Stardew Valley server with Meshnet
      • How to play Quake 3 Arena over Meshnet
      • How to set up a private Team Fortress 2 server with Meshnet
      • How to set up a remote game-streaming server for Moonlight
      • How to set up a Palworld dedicated server
      • How to play Fallout: New Vegas multiplayer over Meshnet
      • How to set up a private Factorio server with Meshnet
    • Remote files and media access
      • How to set up and access shared folders
        • Configure and access shared folders on Windows
        • Configure and access shared folders on macOS
        • Configure and access shared folders on Linux
        • Access shared folders from Android
        • Access shared folders from iPhone/iPad
        • Access shared folders from Android TV
      • How to watch videos over Meshnet using Kodi
      • How to configure and access a Jellyfin media server remotely
      • How to set up a Plex media server and access it remotely
      • How to set up a remote NAS using OpenMediaVault and Meshnet
      • How to set up a remote picture library with LibrePhotos and Meshnet
      • How to use Syncthing for remote continuous file synchronization
      • How to set up a remote Airsonic music server
      • How to set up HTTP File Server for remote file access
      • How to set up a remote audiobook server
      • How to host a remote Kavita e-book server
      • How to set up and remotely access Immich using Meshnet
    • Remote device access
      • How to log in to your PC remotely over Meshnet
        • Connect to a Windows device
        • Connect to a macOS device
        • Connect to a Linux device
      • How to access remote systems over Meshnet using SSH
      • How to access your IP camera over Meshnet
      • How to use Home Assistant remotely over Meshnet
      • How to make secure macOS Time Machine backups from anywhere
      • How to use Ansible over Meshnet
      • How to access files in your NAS from anywhere without compromising its security
      • How to set up a phone as a security camera with remote access
      • How to assign custom host names to Meshnet services using Nginx proxy manager
      • How to use Proxmox VE remotely over Meshnet
      • How to set up a remotely controlled 3D printer
      • How to set up and remotely access a CasaOS server
    • Joint projects
      • How to set up an NGINX web server and remotely access it over Meshnet
      • How to use Nextcloud file syncing with Meshnet
      • How to set up pair programming using tmux
      • How to set up a Visual Studio Code server for remote development over Meshnet
      • How to host a Focalboard server for remote project management
      • How to use Meshnet for multi-screen Node.js development
      • How to use the Multi-user editing plugin in Unreal Engine over Meshnet
      • How to set up a private Mumble voice chat server
      • How to host a private Rocket.Chat server
    • Own VPN server setup
      • How to set up a VPN server through self-hosting or with DigitalOcean
      • How to create a VPN server with Microsoft Azure
      • How to create a VPN server with AWS
      • How to create a VPN server with Google Cloud
      • How to create a VPN server with Linode
      • How to create a VPN server with Hetzner
    • Network protection
      • How to set up your network protection with Pi-hole
      • How to set up your own DNS server
      • How to protect your network with AdGuard Home
      • How to use the self-hosted Whoogle search engine remotely
      • How to set up a VPN router using Meshnet
  • Troubleshooting
    • Common issues on Windows
    • Common issues on Android
    • Common issues on iPhone/iPad
    • Common issues on macOS
    • Common issues on Linux
Powered by GitBook

© 2025 Nord Security. All Rights Reserved.

On this page
  • Introduction
  • Get started: What’s your Minecraft edition?
  • Create a Minecraft Bedrock server on Windows and Linux
  • Connect to your Bedrock server
  • Invite friends
  • Create a Minecraft Java server on macOS
  • Before you begin
  • Download server software
  • Run your Minecraft Java server
  • Connect to your Minecraft Java server
  • Invite friends

Was this helpful?

  1. How-to guides
  2. Gaming

How to set up a private Minecraft server with Meshnet

Learn how to set up a Minecraft server using Meshnet on Windows, Linux, and macOS, and enjoy a private game with your friends.

PreviousGamingNextHow to set up a private Stardew Valley server with Meshnet

Last updated 10 months ago

Was this helpful?

Introduction

Minecraft is one of the most popular multiplayer online games. To , you can create your own server and invite friends to join your world.

However, running a public Minecraft server may present a security threat to your home network. The risks you might encounter range from DDoS attacks to unfamiliar devices accessing your network.

With , you can set up your private Minecraft server and connect to it from anywhere in the world safely. Instead of having to open ports and expose your IP address to strangers online, you and your friends can connect your devices to Meshnet, which in essence, acts as a local area network but with an encrypted VPN tunnel. Also, you won't have to pay for third-party hosting with Meshnet.

To start working on your Minecraft server, check out our video:

Alternatively, you can follow the detailed written instructions presented in this article.

Get started: What’s your Minecraft edition?

Currently, there are two separate versions of Minecraft: Bedrock Edition and Java Edition. While both editions support online multiplayer mode, they are compatible with different servers. This means that you will use different server software depending on the game edition you are playing.

This guide walks you through the process of creating a Minecraft server with Meshnet for both editions on the following platforms:

Create a Minecraft Bedrock server on Windows and Linux

The official Minecraft Bedrock server software supports Windows and Linux.

Before you begin

Ensure that the machine that will host the server meets these minimum requirements:

  • Intel or AMD processor with at least two cores

  • 4 GB of RAM or more

Other players will be able to connect to your Bedrock server if these conditions are met:

  • A player's game is Minecraft: Bedrock Edition.

  • The game version matches the version of your server.

Note

All the client devices you would like to invite to join your server need to be connected to your Meshnet.

Download server software

Run your Bedrock server

  1. Extract the downloaded archive to a convenient location.

  2. Open the bedrock_server.exe file.

  3. If the Windows security alert box appears, select both the private and public networks options, and then click the Allow access button to allow incoming connections through the firewall.

Tip

Your Bedrock server should now be up and running.

Note

If you encounter connection issues, you may need to exempt the Minecraft client from UWP loopback restrictions. To do this, open Windows PowerShell or Command Prompt as an administrator and enter the following:

CheckNetIsolation LoopbackExempt -a -n="Microsoft.MinecraftUWP_8wekyb3d8bbwe"

Alternatively, you can enter the command provided in the bedrock_server_how_to file:

CheckNetIsolation LoopbackExempt -a -p=S-1-15-2-1958404141-86561845-1752920682-3514627264-368642714-62675701-733520436

Before you begin

Ensure that the machine that will host the server meets these minimum requirements:

  • Ubuntu 20.04 or later

  • 64-bit Intel or AMD processor with at least two cores

  • 4 GB of RAM or more

Other players will be able to connect to your Bedrock server if these conditions are met:

  • A player's game is Minecraft: Bedrock Edition.

  • The game version matches the version of your server.

Note

All the client devices you would like to invite to join your server need to be connected to your Meshnet.

Download server software

  1. Open Terminal.

  2. Navigate to the directory where you want to install your server using the cd command followed by the path to your directory. Example

    cd ~/Desktop

  3. Create a new folder for storing your server files using the mkdir command and navigate to it using cd. Example

    mkdir server && cd server

  4. In the terminal, enter the wget command and paste the copied link to download the server archive. Example

    wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.1.03.zip

Run your Bedrock server

  1. Extract server files from the downloaded archive by entering the unzip command, as shown:

    unzip bedrock-server*

    If the unzip command does not work, you may need to install the unzip package by entering sudo apt install unzip.

  2. Enter the following to start the server:

    ./bedrock_server

    Use this command each time you want to start the server.

Your Bedrock server should now be up and running.

Tip

To configure the server to your liking, find the server.properties file in the extracted server folder and edit the file with any text editor. The changes will take effect after you restart the server.

To stop the server, you can enter the stop command.

Connect to your Bedrock server

  1. Make sure that the device on which you play the game has the NordVPN app running and the Meshnet feature is enabled in the app.

  2. Open Minecraft.

  3. Select Play and choose the Servers tab.

  4. Scroll to the bottom of the servers list and select the Add server button.

  5. In the Add external server dialog, fill in the following details:

    • In the Server name field, enter a custom name to identify your server in the client.

    • In the Server address field, type in the Meshnet IP address of the server device. Example

  6. Click Save.

Your server will appear under Additional servers. To connect, select it and click Join server.

Invite friends

Now that you've created your Minecraft server, you can invite other players to join your game.

  1. To connect to your server, your friends need to know the Meshnet IP address of your server machine and have Meshnet enabled on their devices.

Note

Minecraft regularly releases Bedrock server software updates. If you get a message stating that your server is outdated, you’ll need to upgrade the server to the latest version. Otherwise, you will not be able to connect to your server.

Because the server files will be replaced after your upgrade is complete, you may wish to have a backup copy of the server.properties file if it contains extensive custom changes.

Create a Minecraft Java server on macOS

The official Minecraft Java server software supports various platforms, including macOS, Windows, and Linux. This guide covers setting up a Java server on macOS.

Before you begin

Ensure that the machine that will host the server meets these minimum requirements:

  • 64-bit Intel or Apple silicon processor with at least two cores

  • 2 GB of RAM or more

Note

All the client devices you would like to invite to join your server need to be connected to your Meshnet.

Other players on your Meshnet will be able to connect to your Java server if these conditions are met:

  • A player's game is Minecraft: Java Edition.

  • The game version matches the version of your server.

Download server software

  1. Create a new folder on your Desktop or in any location you can easily find and name your folder as you wish (for example, server). You will use this name to run commands for the server.

  2. Move the downloaded JAR file to your new folder. This folder will store your server files.

Run your Minecraft Java server

  1. Open Terminal, and type cd followed by the path to the folder containing your server JAR file, like this:

    cd Desktop/server

    If requested, allow the Terminal app to access the folder.

  2. Then type:

    java -jar server.jar

    Your server will generate several files in the server folder.

  3. Navigate to your server folder, open the eula.txt file, and change eula=false to eula=true.

    Save the file. This way, you confirm the acceptance of license terms for the Minecraft server software.

  4. Now you can run the server. Open Terminal, type java -jar server.jar again, and press Return.

    If you want to start the server without its graphical user interface, add a space and --nogui to the command.

Tip

Use the java -jar server.jar command each time you want to start the server.

To stop the server, enter the stop command at the Minecraft server command prompt.

Connect to your Minecraft Java server

  1. Make sure that the device on which you play the game has the NordVPN app running and the Meshnet feature is enabled in the app.

  2. Open Minecraft and click the Multiplayer button.

  3. In the lower-right corner, select Add server.

  4. In the Server name field, enter a custom name to identify your server in the client.

  5. Fill in the Server address field:

    • If you're connecting from the same device that is running the server, type in 127.0.0.1.

    • If you're connecting from another device, enter the Meshnet IP address of the server device. Example

  6. Click Done.

The server will now be available under "Play multiplayer". To connect to your Meshnet server, select it and click Join Server.

Invite friends

Now that you’ve created your Minecraft server, you can invite other players to join your game.

  1. To connect to your server, your friends need the Meshnet IP address of your server machine and Meshnet enabled on their devices.

Meshnet is enabled on your server machine. To learn more, see our guide on .

Go to Minecraft's official website and download .

If you want to check your firewall settings for the Bedrock server, click the Start button on the taskbar, type Allow an app through Windows Firewall, and find bedrock_server.exe in the list of results.

Meshnet is enabled on your server machine. To learn more, see our guide on .

Go to , find the "Minecraft Dedicated Server Software for Ubuntu (Linux)" section, right-click the Download button, and copy the link address.

Once the other players repeat the steps described in the section above, they will gain access to your server.

Java 17 or later is installed. On , select Arm 64 DMG installer if your Mac is ARM-based or x64 DMG installer if your Mac uses an Intel processor. To check if Java is installed on your machine, open the Terminal app and type java -version.

Meshnet is enabled on your server machine. To learn more, see our guide on .

Download the server.jar file from .

Once other players on your Meshnet repeat the steps described in the section above, they will gain access to your server.

Bedrock Edition

  • Windows

  • Linux

Java Edition

  • macOS

Using Meshnet on Windows
Minecraft Dedicated Server Software for Windows
Using Meshnet on Linux
Minecraft's official website
Oracle's website
Using Meshnet on macOS
Minecraft’s official website
Connect to your Bedrock server
Connect to your Minecraft Java server
enjoy the full gaming experience of Minecraft
Meshnet
"bedrock_server" executable selected in File explorer.
"bedrock_server" executable selected in File explorer.
Windows Defender firewall message
Bedrock Minecraft server started
The server is starting in the terminal
The created server visible under Additional servers
"eula=true" highlighted in a text editor.
"eula=true" highlighted in a text editor.
Minecraft server GUI showing the server log
"Add server" button highlighted.
"Server name" and "Server address" fields filled in with the server's information.
"Meshnet server" selected and the "Join server" button highlighted.