From dad47df6e4952ef9dc336cb540255e87490316ca Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 27 Jul 2025 22:12:52 -0500 Subject: [PATCH] help --- .../services/containers/netbird/default.nix | 15 +++++++++++---- .../services/containers/traefik/default.nix | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/system-config/services/containers/netbird/default.nix b/system-config/services/containers/netbird/default.nix index 4894042..ff6bf59 100644 --- a/system-config/services/containers/netbird/default.nix +++ b/system-config/services/containers/netbird/default.nix @@ -23,7 +23,7 @@ networking.firewall = { allowedTCPPorts = [ 33080 ]; - allowedUDPPorts = [ 3478 ]; + allowedUDPPorts = [ 3478 33073 ]; allowedUDPPortRanges = [{ from = 49152; to = 54152; }]; }; /* @@ -222,12 +222,19 @@ protocol = "tcp"; } + { + hostPort = 33073; + containerPort = 33073; + protocol = "udp"; + } + { hostPort = 3478; containerPort = 3478; protocol = "udp"; } + ] ++ map (x: { hostPort = x; containerPort = x; protocol = "udp"; }) (builtins.genList (y: 49152 + y) (54152 - 49152)); @@ -283,7 +290,7 @@ }; "HttpConfig" = { - "Address" = "0.0.0.0:443"; + "Address" = "0.0.0.0:33073"; "AuthIssuer" = "https://auth.blunkall.us/realms/General"; "AuthAudience" = "https://auth.blunkall.us/realms/General/.well-known/openid-configuration"; "AuthKeysLocation" = "https://auth.blunkall.us/realms/General/protocol/openid-connect/certs"; @@ -362,14 +369,14 @@ signal = { enable = true; - port = 8080; + port = 10000; }; }; }; networking.firewall = { allowedTCPPorts = [ 80 8080 33073 33080 ]; - allowedUDPPorts = [ 3478 ]; + allowedUDPPorts = [ 3478 33073 ]; allowedUDPPortRanges = [{ from = 49152; to = 54152; }]; }; diff --git a/system-config/services/containers/traefik/default.nix b/system-config/services/containers/traefik/default.nix index de00e38..a753703 100644 --- a/system-config/services/containers/traefik/default.nix +++ b/system-config/services/containers/traefik/default.nix @@ -231,7 +231,7 @@ }; netbirdApi.loadBalancer.servers = [ { url = "http://192.168.100.23:33073"; } ]; netbirdMgmt.loadBalancer.servers = [ { url = "h2c://192.168.100.23:33073"; } ]; - netbirdSignal.loadBalancer.servers = [ { url = "h2c://192.168.100.23:8080"; } ]; + netbirdSignal.loadBalancer.servers = [ { url = "h2c://192.168.100.23:10000"; } ]; #homeassistant.loadBalancer.servers = [ { url = "http://192.168.100.10:8123"; } ];