This commit is contained in:
2025-07-27 22:12:52 -05:00
parent c510375270
commit dad47df6e4
2 changed files with 12 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ 33080 ]; allowedTCPPorts = [ 33080 ];
allowedUDPPorts = [ 3478 ]; allowedUDPPorts = [ 3478 33073 ];
allowedUDPPortRanges = [{ from = 49152; to = 54152; }]; allowedUDPPortRanges = [{ from = 49152; to = 54152; }];
}; };
/* /*
@@ -222,12 +222,19 @@
protocol = "tcp"; protocol = "tcp";
} }
{
hostPort = 33073;
containerPort = 33073;
protocol = "udp";
}
{ {
hostPort = 3478; hostPort = 3478;
containerPort = 3478; containerPort = 3478;
protocol = "udp"; protocol = "udp";
} }
] ++ map (x: { hostPort = x; containerPort = x; protocol = "udp"; }) (builtins.genList (y: 49152 + y) (54152 - 49152)); ] ++ map (x: { hostPort = x; containerPort = x; protocol = "udp"; }) (builtins.genList (y: 49152 + y) (54152 - 49152));
@@ -283,7 +290,7 @@
}; };
"HttpConfig" = { "HttpConfig" = {
"Address" = "0.0.0.0:443"; "Address" = "0.0.0.0:33073";
"AuthIssuer" = "https://auth.blunkall.us/realms/General"; "AuthIssuer" = "https://auth.blunkall.us/realms/General";
"AuthAudience" = "https://auth.blunkall.us/realms/General/.well-known/openid-configuration"; "AuthAudience" = "https://auth.blunkall.us/realms/General/.well-known/openid-configuration";
"AuthKeysLocation" = "https://auth.blunkall.us/realms/General/protocol/openid-connect/certs"; "AuthKeysLocation" = "https://auth.blunkall.us/realms/General/protocol/openid-connect/certs";
@@ -362,14 +369,14 @@
signal = { signal = {
enable = true; enable = true;
port = 8080; port = 10000;
}; };
}; };
}; };
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ 80 8080 33073 33080 ]; allowedTCPPorts = [ 80 8080 33073 33080 ];
allowedUDPPorts = [ 3478 ]; allowedUDPPorts = [ 3478 33073 ];
allowedUDPPortRanges = [{ from = 49152; to = 54152; }]; allowedUDPPortRanges = [{ from = 49152; to = 54152; }];
}; };

View File

@@ -231,7 +231,7 @@
}; };
netbirdApi.loadBalancer.servers = [ { url = "http://192.168.100.23:33073"; } ]; netbirdApi.loadBalancer.servers = [ { url = "http://192.168.100.23:33073"; } ];
netbirdMgmt.loadBalancer.servers = [ { url = "h2c://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"; } ]; #homeassistant.loadBalancer.servers = [ { url = "http://192.168.100.10:8123"; } ];