From b2bfe83faaba501cc36fcb1f16cca391c446c2c0 Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 12 Oct 2023 23:32:37 -0400 Subject: [PATCH] minecraft: open udp port --- hosts/yuki/services/minecraft.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";