diff --git a/system-config/services/containers/netbird/default.nix b/system-config/services/containers/netbird/default.nix index d650cfb..f553074 100644 --- a/system-config/services/containers/netbird/default.nix +++ b/system-config/services/containers/netbird/default.nix @@ -236,11 +236,15 @@ enable = true; enableNginx = true; settings = { - AUTH_AUTHORITY = "https://auth.blunkall.us/realms/General/.well-known/openid-configuration"; + AUTH_AUTHORITY = "https://auth.blunkall.us/realms/General"; AUTH_CLIENT_ID = "netbird"; AUTH_SUPPORTED_SCOPES = "openid profile email offline_access api"; AUTH_AUDIENCE = "netbird"; USE_AUTH0 = false; + NETBIRD_TOKEN_SOURCE = "accessToken"; + + NETBIRD_MGMT_API_ENDPOINT = "https://vpn.blunkall.us:443"; + NETBIRD_MGMT_GRPC_API_ENDPOINT = "https://vpn.blunkall.us:443"; }; }; management = { @@ -360,7 +364,7 @@ }; networking.firewall = { - allowedTCPPorts = [ 80 8080 ]; + allowedTCPPorts = [ 80 8080 33080 ]; allowedUDPPorts = [ 3478 ]; allowedUDPPortRanges = [{ from = 49152; to = 54152; }]; };