nixos/netbird: Fix configuration of coturn server

This commit is contained in:
Tom Hubrecht 2024-04-24 20:35:24 +02:00
parent 47c8f08ece
commit 5ad0ea1aaf
1 changed files with 3 additions and 3 deletions

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