Playing Minecraft multiplayer with friends who live in different houses can sometimes be tricky due to network restrictions. Using ZeroTier creates a virtual private local area network (LAN), making your computers act as if they are plugged into the same household router. This guide will help you set up ZeroTier so you can enjoy Minecraft multiplayer seamlessly across both Java and Bedrock editions.
Download and Install ZeroTier
Go to the official ZeroTier website and download the application for your operating system (Windows, macOS, or Linux). Install the program on your computer and make sure your friends do the exact same thing on theirs.
Once installed, the ZeroTier icon will appear in your system tray or menu bar. You may need to restart your computer to finalize the network adapter installation.
Create a ZeroTier Network
One player needs to act as the network administrator. Log into the ZeroTier website, create a free account, and click on Create a Network. This will generate a unique 16-character Network ID.
Copy this Network ID and share it privately with the friends you want to play Minecraft with. Keep your network type set to Private so random users cannot join.
Join the Network
Open the ZeroTier app on your computer, right-click or open the client interface, and select Join Network. Paste the 16-character Network ID provided by your host and click join.
Your friends must also open their ZeroTier applications, paste the exact same Network ID, and click join. If prompted by your operating system's firewall, allow ZeroTier to access local networks.
Authorize Members on the Dashboard
Return to your ZeroTier web dashboard in your browser. Scroll down to the Members section where you will see connection requests from you and your friends.
Check the Auth box next to each user's device ID to officially authorize them to join your virtual network. Without this step, devices will not be able to communicate with each other.
Start Your Minecraft World and Open to LAN
Launch Minecraft Java Edition or Bedrock Edition. Load up your single-player world. If you are playing Java Edition, press escape and click Open to LAN, then note down the port number displayed in your chat (for example, 12345).
If you are hosting a dedicated server instead, ensure it is running locally on your machine.
Connect to the Host and Play
The host player's ZeroTier IPv4 address can be found on the ZeroTier dashboard or by checking network settings. Your friends should copy this IP address.
In Minecraft, go to Multiplayer, click Direct Connection (Java) or add a server (Bedrock), and type the host's ZeroTier IP address followed by a colon and the LAN port (for example, 10.147.20.5:12345). You are now ready to play Minecraft together!
Frequently Asked Questions
Do I need to pay for a ZeroTier account to play Minecraft?
No, ZeroTier offers a free tier that supports up to 25 connected devices on a private network, which is more than enough for a group of friends playing Minecraft.
Does this work for both Java and Bedrock editions?
Yes, ZeroTier creates a network layer at the operating system level. You can use it to connect with friends in Java Edition via LAN or Direct Connect, or Bedrock Edition using IP connection methods.








