diff --git a/system-config/services/containers/netbird/default.nix b/system-config/services/containers/netbird/default.nix index 58c8861..734f7ce 100644 --- a/system-config/services/containers/netbird/default.nix +++ b/system-config/services/containers/netbird/default.nix @@ -56,12 +56,6 @@ protocol = "udp"; }) (builtins.genList (y: y + 49152) (5000)); - /* ++ map (x : { - containerPort = x; - hostPort = x; - protocol = "udp"; - }) (builtins.genList (y: y + 49152) (65535 - 49152)); -*/ bindMounts = {}; @@ -75,7 +69,7 @@ allowedUDPPortRanges = [{ from = 49152; to = 65535; }]; }; - /*services.netbird = { + services.netbird = { enable = true; @@ -117,6 +111,9 @@ NETBIRD_DISABLE_LETSENCRYPT = true; NETBIRD_MGMT_API_ENDPOINT = "https://netbirdapi.blunkall.us:443"; NETBIRD_MGMT_GRPC_API_ENDPOINT = "https://netbirdapi.blunkall.us:443"; + NETBIRD_RELAY_PORT = "443"; + + TURN_MAX_PORT = "54152"; }; }; @@ -132,7 +129,7 @@ }; }; - };*/ + }; }; }; /*