Merge pull request #306608 from Tom-Hubrecht/netbird-coturn

nixos/netbird: Fix configuration of coturn server
This commit is contained in:
Sarah Brofeldt 2024-04-27 07:35:02 +02:00 committed by GitHub
commit 75541131ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,10 +148,10 @@ in
allowedUDPPorts = cfg.openPorts;
allowedTCPPorts = cfg.openPorts;
allowedUDPPortRanges = [
allowedUDPPortRanges = with config.services.coturn; [
{
from = cfg.minPort;
to = cfg.maxPort;
from = min-port;
to = max-port;
}
];
};