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 = {
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; }];
};