Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

phantom

> 编程语言
Open source

Use your own Minecraft server with your Xbox or PS4/5 and play with friends!

691 stars0 likes2 views
WebsiteGitHub

About

Use your own Minecraft server with your Xbox or PS4/5 and play with friends!

phantom

Makes hosted Bedrock/MCPE servers show up as LAN servers, specifically for consoles.

You can now play on remote servers (not Realms!) on your Xbox and PS4 with friends.

It's like having a LAN server that's not actually there, spooky.

Installing

phantom is a command line application with no GUI (yet). See the usage section below.

Download phantom from the releases page.

macOS / Linux

Add execute permissions if necessary:

bash
$ chmod u+x ./phantom-

Just replace `` with macos, linux, etc. for the correct OS you're using.

Usage

Open up a command prompt (Windows) or terminal (macOS & Linux) to the location where you downloaded phantom, then type in the phantom command and hit enter. The server should show up on your LAN server list within a few seconds. If not, you did something wrong. Or I did ;)

…

Example

Connect to a server at IP lax.mcbr.cubed.host port 19132:

bash
./phantom- -server lax.mcbr.cubed.host:19132

Same as above but bind to a specific local IP:

bash
./phantom- -bind 10.0.0.5 -server lax.mcbr.cubed.host:19132

Same as above but bind the proxy server to port 19133:

bash
./phantom- -bind_port 19133 -server lax.mcbr.cubed.host:19132

Same as above but bind the proxy server to local IP 10.0.0.5 and port 19133:

bash
./phantom- -bind 10.0.0.5 -bind_port 19133 -server lax.mcbr.cubed.host:19132

Running multiple instances

If you have multiple Bedrock servers, you can run phantom multiple times on the same device to allow all of your servers to show up on the LAN list. All you have to do is start one instance of phantom for each server and set the -server flag appropriately. You don't need to use -bind or change the port. But you probably do need to make sure you have a firewall rule that allows all UDP traffic for the phantom executable.

A note on -bind:

The port is randomized by default and specifically omitted from the flag because the port that phantom runs on is irrelevant to the user. phantom must bind to port 19132 on all interfaces (or at least the broadcast address) to receive ping packets from LAN devices. So phantom will always do that and there's no way to configure otherwise, but you can also pick which IP you want the proxy itself to listen on, just in case you need that. You shouldn't though.

As long as the device you run phantom from is on the same LAN, the default settings should allow other LAN devices to see it when you open Minecraft.

A note on -bind_port:

The port used by the proxy server can be defined with the -bind_port flag. It can be useful if you are behind a firewall or using Docker and want to open only necessary ports to phantom. Note that you'll always need to open port 19132 in addition to the bind port for phantom to work.

This flag can be used with or without the -bind flag. Default value is 0, which means a random port will be used.

Building

Makefile builds for Windows, macOS, and Linux, including x86 and ARM.

bash
make

How does this work?

On Minecraft platforms that support LAN servers, the game will broadcast a server ping packet to every device on the same network and display any valid replies as connectable servers. This tool runs on your computer - desktop, laptop, Raspberry Pi, etc. - and pretends to be a LAN server, acting as a proxy, passing all traffic from your game through your computer and to the server (and back), so that Minecraft thinks you're connected to a LAN server, but you're really playing on a remote server. As soon as you start it up, you should see the fake server listed under LAN and, upon selecting it, connect to the real Bedrock/MCPE server hosted elsewhere.

For an optimal experience, run this on a device that is connected via ethernet and not over WiFi, since a wireless connection could introduce some lag. Your game device can be connected to WiFi. Your remote server can be running on a computer, a VM, or even with a Minecraft hosting service.

Supported platforms

  • This tool should work on Windows, macOS, and Linux.
  • ARM builds are available for Raspberry Pi and similar SOCs.
  • Minecraft for Windows 10, iOS/Android, Xbox One, and PS4 are currently supported.
  • Nintendo Switch is not supported.

Note that you almost definitely need to create a firewall rule for this to work. On macOS, you'll be prompted automatically. On Windows, you may need to go into your Windows Firewall settings and open up all UDP ports for phantom.

Troubleshooting

My server isn't showing up on the list but it's online and phantom is showing connections!

Make sure "Visible to LAN players" is turn ON in your server's settings: (below shows setting OFF)

More info:

  • https://github.com/jhead/phantom/issues/80#issuecomment-625737070
  • https://github.com/jhead/phantom/issues/29#issuecomment-612808296

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gobedrocklanmcpeminecraft

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言