Add support for Minecraft Bedrock by exposing port 19132 in firewall and Traefik configuration

This commit is contained in:
Root User 2026-03-25 00:20:02 +01:00
parent dbfd190a90
commit 677ab78d34
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 34 additions and 2 deletions

View file

@ -48,8 +48,8 @@ in {
services.tailscale.enable = true;
networking.firewall.allowedTCPPorts = [25565 24454 8100];
networking.firewall.allowedUDPPorts = [25565 24454 8100];
networking.firewall.allowedTCPPorts = [25565 24454 8100 19132];
networking.firewall.allowedUDPPorts = [25565 24454 8100 19132];
# 24454 - https://modrepo.de/minecraft/voicechat/wiki/server_setup_self_hosted !!!
# This is the VoiceChat mod in Minecraft
@ -230,6 +230,11 @@ in {
sha512 = "7c2e08c526f1a8428711926151ed9b98b931c01770cd8c3689f85c3a54f4c848bdeacc720d0f9f34878c16d8c178628220cc38f5b961a316cba421cd71beab40";
};
GeyserMC = pkgs.fetchurl {
url = "https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/fabric";
sha512 = "5cd7bfd350c179e7201563a33f255fbe096b01997a3678321560c887df5df5da5b9ea58450d7b491eb0027c5947e5445da6199d2e665e6caf25152a395d04075";
};
}
);