Add turn server; Configure mirotalk to use turn;

This commit is contained in:
aloslider committed 2026-10-19 05:59:35 +03:00
1 parent 374428658a
commit 6bb9ceefb8
6 files changed
+110 -7

No files matched your search

+11 -1
View File
@@ -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;
}
];
};
};