Add turn server; Configure mirotalk to use turn;
This commit is contained in:
1 parent
374428658a
commit
6bb9ceefb8
6 files changed
+110
-7
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "homelab";
|
||||
@@ -17,6 +17,16 @@
|
||||
allowedUDPPorts = [
|
||||
3478
|
||||
7359
|
||||
51820
|
||||
]
|
||||
++ lib.optionals config.selfhosted.turn.enable [
|
||||
config.selfhosted.turn.listenPort
|
||||
];
|
||||
allowedUDPPortRanges = lib.optionals config.selfhosted.turn.enable [
|
||||
{
|
||||
from = config.selfhosted.turn.minPort;
|
||||
to = config.selfhosted.turn.maxPort;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user