diff --git a/modules/minecraft/default.nix b/modules/minecraft/default.nix index 2c9ec28..4f7e261 100644 --- a/modules/minecraft/default.nix +++ b/modules/minecraft/default.nix @@ -22,12 +22,13 @@ services.nginx.virtualHosts."map.mc.ifsr.de".extraConfig = '' allow 141.30.0.0/16; allow 141.76.0.0/16; + allow 217.160.244.15/32; # jonas uptime kuma deny all; ''; networking.firewall = { extraInputRules = '' - ip saddr { 141.30.0.0/16, 141.76.0.0/16} tcp dport 25565 accept comment "Allow minecraft access from office nets and podman" + ip saddr { 141.30.0.0/16, 141.76.0.0/16, 217.160.244.15/32 } tcp dport 25565 accept comment "Allow minecraft access from TU network and jonas monitoring" ''; }; users.users.minecraft = {