diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 723845d..6a56a4b 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -122,8 +122,18 @@ }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 22 25565 25575 38281 ]; - networking.firewall.allowedUDPPorts = [ 22 25565 25575 38281 ]; + networking.firewall.allowedTCPPorts = [ + 22 # ssh + 25565 25575 # minecraft + 38281 # archipelago + 34197 27015 # factorio + ]; + networking.firewall.allowedUDPPorts = [ + 22 # ssh + 25565 25575 # minecraft + 38281 # archipelago + 34197 27015 # factorio + ]; # Or disable the firewall altogether. # networking.firewall.enable = false;