Hi,
So I installed Coturn for YunoHost, then added the following lines in /etc/metronome/metronome.cfg.lua:
“extdisco”; – XEP 215
“jingle_nodes”;external_services = {
[“domain.tld”] = {
[1] = {
port = “3478”,
transport = “udp”,
type = “stun”
},[2] = { port = "3478", transport = "tcp", type = "stun" }, [3] = { port = "5349", transport = "tcp", type = "stuns" }, [4] = { port = "3478", transport = "tcp", type = "turn", turn_secret = "Some passphrase", turn_ttl = 300 }, [5] = { port = "3478", transport = "udp", type = "turn", turn_secret = "Some passphrase", turn_ttl = 7200 }, [6] = { port = "5349", transport = "tcp", type = "turns", turn_secret = "Some passphrase", turn_ttl = 7200 } }
};
jingle_nodes_turn_credentials = true;
jingle_nodes_turn_secret = “Some passphrase”;
jingle_nodes_turn_credentials_ttl = 86400;
jingle_nodes_restricted = false;
But what is: turn_secret = “Some passphrase” ?
And in /etc/turnserver.conf I added to the existing file:
listening-port=3478
tls-listening-port=5349
listening-ip=0.0.0.0
listening-ip=
min-port=49152
max-port=65535
verbose
fingerprint
use-auth-secret
static-auth-secret=“Some passphrase”
realm=domain.tld
max-allocate-lifetime=7200
cert=/etc/yunohost/certs/domain.tld/crt.pem
pkey=/etc/yunohost/certs/domain.tld/key.pem
syslog
prod
no-loopback-peers
no-cli
cli-ip=127.0.0.1
cli-port=5766
cli-password=clipassword
And finally opened the requested ports:
yunohost firewall allow UDP -4 49152:65535
yunohost firewall allow Both 3478
yunohost firewall allow Both 5349
yunohost firewall allow Both 3479
yunohost firewall allow Both 5350
However I don’t understand what I should use in /etc/turnserver.conf for the following parameters:
listening-ip=0.0.0.0
listening-ip=
realm=domain.tld
cert=/etc/yunohost/certs/domain.tld/crt.pem
pkey=/etc/yunohost/certs/domain.tld/key.pem
static-auth-secret=“Some passphrase”
cli-password=clipassword
Thank you.