diff --git a/system/services/satisfactory/default.nix b/system/services/satisfactory/default.nix index 188311b6..ecb4cc2f 100644 --- a/system/services/satisfactory/default.nix +++ b/system/services/satisfactory/default.nix @@ -4,6 +4,6 @@ services.satisfactory-server = { enable = true; openFirewall = true; - launchOptions = "-multihome=0.0.0.0"; + # launchOptions = "-multihome=0.0.0.0"; }; } diff --git a/system/services/satisfactory/module.nix b/system/services/satisfactory/module.nix index bf445c8f..59caf8e3 100644 --- a/system/services/satisfactory/module.nix +++ b/system/services/satisfactory/module.nix @@ -76,12 +76,17 @@ in }; users.groups.satisfactory = { }; - networking.firewall = lib.mkIf cfg.openFirewall { - allowedUDPPorts = [ - 15777 - 7777 - 15000 - ]; - }; + networking.firewall = + let + ports = [ + 7777 + 15000 + 15777 + ]; + in + lib.mkIf cfg.openFirewall { + allowedTCPPorts = ports; + allowedUDPPorts = ports; + }; }; }