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

View File

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