From d6f0f10c6e979b79ad753eb47ae7ecc925532264 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sun, 11 Feb 2024 16:24:07 +0100 Subject: [PATCH] Open minecraft to wan Signed-off-by: magic_rb --- terranix/containers/minecraft/enigmatica6/job.hcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terranix/containers/minecraft/enigmatica6/job.hcl b/terranix/containers/minecraft/enigmatica6/job.hcl index 94308d1..ce50e2b 100644 --- a/terranix/containers/minecraft/enigmatica6/job.hcl +++ b/terranix/containers/minecraft/enigmatica6/job.hcl @@ -32,6 +32,11 @@ job "minecraft-enigmatica6" { static = 25560 to = 25565 } + port "minecraft-wan" { + host_network = "wan" + static = 25560 + to = 25565 + } } @@ -44,7 +49,7 @@ job "minecraft-enigmatica6" { nix_flake_store_path = var.store_path entrypoint = [ "init" ] - ports = ["minecraft"] + ports = ["minecraft", "minecraft-wan"] } kill_signal = "SIGHUP" -- 2.45.2