nixos/netbird: Fix configuration of coturn server
This commit is contained in:
parent
47c8f08ece
commit
5ad0ea1aaf
|
@ -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;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user