Setup & configuration

Setting up Geyser and Bedrock behind DDoS protection

Quele, Founder of BlackProtectUpdated 4 November 20266 min read
In short

Bedrock works differently from Java: it plays over UDP (since 26.60 with a TCP request first) and doesn't tell which domain the player typed. So every server gets its own Bedrock address with its own port at BlackProtect.

You enable Bedrock in your route settings, enter your Geyser's host and port, and give your players the new address including the port.

Contents
  1. Why Bedrock is different
  2. How to set it up
  3. Configuring Geyser for Bedrock 26.60 (NetherNet)
  4. Real player IPs on Bedrock
  5. Locking down the Bedrock port
  6. Common problems
  7. Frequently asked questions

Why Bedrock is different

  • Java sends the domain the player typed when connecting. That lets many servers share the same address at the protection.
  • Bedrock (phone, console, Windows edition) connects over NetherNet since 26.60 (TCP first, then UDP) and doesn't send the domain. So every server needs its own address with its own port.
  • Bedrock doesn't support SRV records. Players have to enter the port themselves.

How to set it up

You need a running Geyser (as a plugin on Velocity or Paper, or standalone) and to know the address and port it is reachable on. The default port is 19132.

  1. Open your route

    In the dashboard under Domains & Routes, open your domain's settings.

  2. Enable Bedrock

    In the Bedrock (Minecraft mobile/console) section, enter the Geyser host (your server's IP or domain) and Geyser port, then click Enable Bedrock.

  3. Note the address

    Under Bedrock ingress you now see the address and port Bedrock players use to reach your server.

  4. Configure Geyser

    Below it is a ready-made block Geyser settings for Bedrock 26.60+. Copy it into your Geyser config.yml (on Velocity: plugins/Geyser-Velocity/config.yml), keep your existing port, and restart Geyser. More in the next section.

  5. Create a nice address

    At your domain provider, create an A record, e.g. bedrock.yourserver.com, pointing to the IP shown. If the domain is on Cloudflare: proxy status DNS only (grey cloud).

  6. Tell your players

    Server address bedrock.yourserver.com, port: the port shown. They enter both under “Add Server”.

Configuring Geyser for Bedrock 26.60 (NetherNet)

Since Bedrock 26.60 (October 2026), Bedrock players connect through a new method called NetherNet: the client first asks over TCP how to connect, then plays over UDP. Current clients no longer use the old method (RakNet). You need Geyser 2.12.1 or newer.

yaml
bedrock:
  port: 19132
  transport: nethernet
  signaling:
    advertise-addresses: ["<IP:port from the dashboard>"]
advertise-addresses matters

Geyser sends this address to every player for the UDP part. If it's empty or holds your own server IP, Bedrock players connect straight to your server: the protection is bypassed and everyone learns your real IP. Enter exactly the Bedrock address from the dashboard (IP and port).

Real player IPs on Bedrock

Without anything else, Geyser sees our filter's address for every Bedrock player. To get the real IP, set Forward real player IP at BlackProtect to On – first packet only (recommended) and add to Geyser's config.yml:

yaml
advanced:
  bedrock:
    haproxy-protocol-whitelisted-ips: ["<our IP from the dashboard>"]
    prefer-signaling-proxy-address: true

The first line lets Geyser take the player's address from us, the second makes it use that address in game. Leave webrtc-proxy-protocol-relays empty. Older guides mention enable-proxy-protocol or use-haproxy-protocol: those only apply to the old RakNet and aren't needed for NetherNet. The dashboard shows the matching block once the setting is on at our end.

Locking down the Bedrock port

Just like with Java, only our filter servers should reach the Geyser port, over TCP and UDP. Since Bedrock 26.60 the client first connects over TCP and then plays over UDP. With only UDP open, players see the server but can't join. On your own Linux server with ufw it looks like this (addresses load live):

  • Frankfurt194.62.248.59
  • Nuremberg185.217.124.16
Terminal
# Allow SSH first, or you will lock yourself out!
# (If SSH runs on a different port, use that instead of 22.)
sudo ufw allow 22/tcp

# Bedrock (Geyser) only for the BlackProtect filter servers
sudo ufw allow from 194.62.248.59 to any port 19132 proto both
sudo ufw allow from 185.217.124.16 to any port 19132 proto both

# Remove an old rule that allowed everyone (if there is one)
sudo ufw delete allow 19132/both

sudo ufw enable
sudo ufw status

If Geyser runs on another port, replace 19132 with yours. More on firewalls, including Docker and Pterodactyl: Hide your server IP.

Common problems

  • Server shows in the list but joining fails: usually the Geyser port is open for UDP only (NetherNet needs TCP and UDP), advertise-addresses is missing, or Geyser is older than 2.12.1.
  • Server doesn't show at all: check port and host at BlackProtect, whether Geyser is running, and whether the port is open for our filter servers over TCP and UDP.
  • Not sure where it fails: run geyser connectiontest <your-address> <port> in the console and send us the output on Discord.
  • Error “no free Bedrock ingress available”: all Bedrock addresses are taken right now. Message us on Discord and we'll free up more.

Frequently asked questions

Can console players (Xbox, PlayStation, Switch) join?

Consoles can't add custom servers out of the box, only the featured ones. That's down to the consoles, not the protection. There are workarounds using special DNS settings that players have to set up themselves.

Does Floodgate keep working?

Yes. Floodgate lets Bedrock players join without a Java account and keeps working as usual.

Does Bedrock cost extra?

No, you can enable Bedrock for your route on every plan.