From db9e1cfd4babc503bf256f1fdbdc5a236d523eef Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 28 Jun 2024 09:47:37 +0200 Subject: [PATCH] feat: open minecraft server port --- hosts/server/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 3b2694f..14b290c 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -126,8 +126,8 @@ }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 22 ]; - networking.firewall.allowedUDPPorts = [ 22 ]; + networking.firewall.allowedTCPPorts = [ 22 25565 ]; + networking.firewall.allowedUDPPorts = [ 22 25565 ]; # Or disable the firewall altogether. # networking.firewall.enable = false;