diff --git a/hosts/yuki/services/minecraft.nix b/hosts/yuki/services/minecraft.nix index e9f0d8a..995ffb8 100644 --- a/hosts/yuki/services/minecraft.nix +++ b/hosts/yuki/services/minecraft.nix @@ -1,9 +1,9 @@ _: { networking.firewall.allowedTCPPorts = [25565]; - networking.firewall.allowedUDPPorts = [25565]; + networking.firewall.allowedUDPPorts = [24454]; virtualisation.oci-containers.containers.minecraft = { image = "itzg/minecraft-server"; - ports = ["25565:25565"]; + ports = ["25565:25565" "24454:24454/udp"]; environment = { EULA = "TRUE"; VERSION = "1.19.2";