From 763379743002f7a9fca4f900f0191ce69ba24ce0 Mon Sep 17 00:00:00 2001 From: zackartz Date: Sat, 4 May 2024 00:00:17 -0400 Subject: [PATCH] add pots --- hosts/pluto/configuration.nix | 10 ++++++++++ hosts/pluto/services/pterodactyl.nix | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/pluto/configuration.nix b/hosts/pluto/configuration.nix index ef10c71..6f5846b 100644 --- a/hosts/pluto/configuration.nix +++ b/hosts/pluto/configuration.nix @@ -102,6 +102,16 @@ # Open ports in the firewall. networking.firewall.allowedTCPPorts = [80 443 6969 2022]; + networking.firewall.allowedTCPPortRanges = [ + { + from = 25565; + to = 25575; + } + { + from = 24454; + to = 24464; + } + ]; networking.firewall.allowedUDPPorts = [80 443 6969 2022]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/pluto/services/pterodactyl.nix b/hosts/pluto/services/pterodactyl.nix index 4288e11..9d6dcd7 100644 --- a/hosts/pluto/services/pterodactyl.nix +++ b/hosts/pluto/services/pterodactyl.nix @@ -43,7 +43,6 @@ in { }; }; - systemd.services."wings" = { after = ["docker.service"]; requires = ["docker.service"];