mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
nixos/netbird: Fix configuration of coturn server
This commit is contained in:
parent
47c8f08ece
commit
5ad0ea1aaf
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user