Geyser
Information about using Geyser with TCPShield
Bedrock support is a strictly Premium Plan only feature. To update, please go to our plans page.
Setup
Panel Setup
First, create a separate backend set which points to your instance.
To avoid lengthy debugging process, make sure you can login to your IP:Port on the Minecraft Bedrock client first i.e., please don't come to us with a broken Geyser instance.

After you've created a backend set, you can head to the Bedrock section on our panel and create a Bedrock tunnel:

Select the backend set that you have created:

Click 'Done,' and you will be able to create your Dedicated Bedrock CNAME. Here's what it does:
Since Minecraft: Bedrock edition does not support virtual hostname routing, we cannot offer a shared anycasted IP as we can with Java. To overcome this limitation, each IP must be provisioned statically per tunnel.
This IP address will efficiently redirect all traffic from Minecraft: Bedrock edition to the backend set you created above. Therefore, you don't need to attach a domain to this backend set on the TCPShield panel.
You can now proceed to the next step: DNS Setup.

Important: while your Bedrock tunnel is active, you won't be able to delete the underlying backend set. If you want to change the your IP address later, you can simply click on Edit. Or you can Delete the tunnel and make another one again.
DNS Setup
The DNS setup is quite similar to the setup one normally goes through to setup TCPShield.
You need to point a new CNAME to the Bedrock CNAME target we've provided you.

Using the same domain to connect to both Geyser and Java Edition
Because Bedrock CNAMEs use a special IP address which supports both Java and Bedrock traffic together, the same example.bedrock.tcpshield.com CNAME can be used for both connection types. Meaning, you can simply create a DNS record pointing only to this value for any subdomain, including root, and both will work together.
OPTIONAL: Setup a SRV record which points to your Java Edition server
The purpose of this section is if you as a customer want more control over the providers in which Java vs Bedrock traffic use. In the case you are using our Cloudflare network, this will be necessary to ensure Java traffic stays on Cloudflare.
Say for for example, you would like to use play.example.tld to connect to both your Java Edition and Bedrock server. We can do that like below:
The CNAME for your Java Edition server has to be a different one than the one you want your players to connect to. In this case, we will use tcpshield as the name of the CNAME.
In order to get the SRV record setup, you can follow the guide here.
Change the name of your Geyser CNAME
If you have already created the CNAME as described above, change its name to the subdomain you want your players to be able to connect to. If you haven't created the CNAME yet, you can follow the steps as outlined above with the difference to set your name to, in this example, play.

Proxy Protocol Setup
When using Geyser in combination with Java it's highly recommended that you switch to proxy protocol. Detailed instructions can be found here. After this is done, you should be able to connect to both your Java Edition and Bedrock server with play.example.tld!
Plugin Setup
If you decide to use the plugin instead of proxy protocol, it should be noted the plugin does authorize incoming Geyser connections directly. Please create a new file under plugins/TCPShield/ip-whitelist. In this example, we will call this name geyser.list.
Add these lines to the file:
After you have saved the newly-created file and restarted your server, the plugin has been setup.
Firewall Setup
If you are using proxy protocol or want to use improve the secure your backend: You should considered block all incoming connections using a firewall solution. For this example, iptables is used.
Additional Setup:
To avoid Geyser ratelimiting our IP addresses causing sudden disconnections / players unable to login, you should add this startup flag:
-DGeyser.RakRateLimitingDisabled=true .
Which will disable Geyser's IP ratelimit.
Last updated
Was this helpful?

