VXLAN Tunnel for Bedrock/Geyser
VXLAN Setup for Geyser
Last updated
Was this helpful?
VXLAN Setup for Geyser
Last updated
Was this helpful?
For customers using the Pterodactyl panel, you may need to contact us during the setup process, as Pterodactyl reserves all private IP addresses, which can prevent the creation of the tunnel. Refer to this .
Before proceeding with the VXLAN setup, make sure your Geyser instance is running. Follow the instructions in the to set up your server. In this example, we have a Bedrock server up and running on 108.61.149.182:19132
:
Once your Geyser instance is up and running, create a tunnel and input the correct IP address of your Geyser server in the Endpoint section. You can ignore the port section, as your application will continue to listen on its usual port. The VXLAN tunnel just forwards traffic to that original port via the backend IP.
Example output:
At this point you should also be able to ping the tunnel's local IP address:
Ensure both the VXLAN port and your backend port are properly whitelisted. You can achieve this using either UFW or iptables. This step might not be necessary, but worth mentioning nonetheless.
Then verify the status by running:
Then verify your configuration by running:
Next, update the address
(under the Bedrock
section) in the Geyser configuration file to the public IP address of your VXLAN tunnel. For example, if your public IP is 104.234.6.128
, make the necessary changes to the config. The port of the server stays the same, aka 19132
.
After restarting the server, double-check that the service is running properly by running the following command:
The output should look similar to this:
At this point, the connection to your Bedrock server will be using the public IP address 104.234.6.128
. You can now create an A record that points directly to this IP.
And that's it, happy gaming!
After creating the tunnel, navigate to the bottom of the Overview page, then copy and run your VXLAN creation script. If you encounter any errors, refer to the . To verify that the tunnel was created successfully, run the following command:
IMPORTANT: For customers using Pterodactyl, ensure that you open the VXLAN port on the panel itself. This can be done by navigating to the Network tab and selecting Create Allocation. For more information, visit this .