Home
Softono
Minecraft-Nintendo-Switch-Private-Server

Minecraft-Nintendo-Switch-Private-Server

Open source HTML
140
Stars
22
Forks
8
Issues
5
Watchers
4 years
Last Commit

About Minecraft-Nintendo-Switch-Private-Server

This project enables Minecraft players on the Nintendo Switch to connect to private or dedicated Bedrock Dedicated Servers (BDS), despite the console's limitation of restricting multiplayer to five pre-whitelisted public servers. The solution uses Docker containers to run a local DNS service (bind9) that intercepts DNS requests for Lifeboat Network's domain (mco.lsbg.net) and redirects them to the IP address of a user-specified private server. Key features include a Docker Compose-based DNS setup using bind9, configurable DNS zone files for redirecting server connections, an optional bundled Minecraft BDS server stack that can be deployed from the provided Docker configuration, and a straightforward setup process requiring only Docker, a static IP on the host machine, and the target server's IP address. Typical use cases are hosting private multiplayer sessions for Nintendo Switch players, redirecting Switch traffic to community or personal Bedrock servers, and running a self-contained Minecraft server enviro

Platforms

Web Self-hosted Docker

Languages

HTML

Links

Minecraft-Nintendo-Switch

Minecraft for Nintendo Switch doesn't allow connecting to Bedrock servers via IP. It only allows multiplayer by connecting to 1 of 5 pre-whitelsted public servers. Using docker, this repo contains everything necessary to connect your Nintendo Switch to your own private (or any other dedicated) server.

The basic premise is when your switch tries to connect to the Lifeboat Network, it is connecting to mco.lsbg.net. By running a local DNS service (bind9) and pointing the Switch to use your DNS service allows you to intercept the request to mco.lsbg.net and resolve it against your private (or any other dedicated) server's IP address

Pre-requisites

  1. Docker and Docker Compose
  2. A static ip address for your machine running DNS
  3. IP address of Minecraft BDS server

Steps to run

  1. Clone this repo
  2. Edit dns/data/bind/etc/zones/db.mco.lbsg.net and replace 192.168.0.69 with the IP address of Minecraft server
  3. (optional) If you want to run your own server, go to /minecraft and run
    docker-compose up
  4. In a separate window, Run DNS by goinge to /dns and run
    docker-compose up
  5. Lastly, in your Nintendo Switch network settings, set the primary DNS server to the private IP address of your machine running DNS
  6. Open Minecraft, go to the realms tab and connect to Lifeboat Network. You should be connecting to your private server instead!