Fix LiveKit rtc.udp_port: use integer 7882 instead of string range, update firewall rules

Agent-Logs-Url: https://github.com/naturallaw777/sovran-systems/sessions/f531f757-8ab7-4742-9c75-8d1e57d73380

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-22 03:23:10 +00:00
committed by GitHub
parent ec3782991d
commit a350d4e2f7
2 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -130,7 +130,7 @@ EOF
keyFile = livekitKeyFile;
settings = {
rtc.use_external_ip = true;
rtc.udp_port = "7882-7894";
rtc.udp_port = 7882;
room.auto_create = false;
turn = {
enabled = true;
@@ -141,10 +141,9 @@ EOF
};
networking.firewall.allowedTCPPorts = [ 5349 7881 ];
networking.firewall.allowedUDPPorts = [ 3478 ];
networking.firewall.allowedUDPPorts = [ 3478 7882 ];
networking.firewall.allowedUDPPortRanges = [
{ from = 7882; to = 7894; }
{ from = 30000; to = 40000;}
{ from = 30000; to = 40000; }
];
networking.firewall.allowedTCPPortRanges = [
{ from = 30000; to = 40000; }