matrix: cleanup VoIP settings

This commit is contained in:
Michele Guerini Rocco 2021-06-18 02:34:23 +02:00
parent 672e72cfd1
commit e4af5cfe15
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -73,10 +73,10 @@ in
# Tell users about our TURN server # Tell users about our TURN server
turn_uris = with config.services.coturn; [ turn_uris = with config.services.coturn; [
"turn:${realm}:${toString listening-port}?transport=udp"
"turn:${realm}:${toString listening-port}?transport=tcp"
"turns:${realm}:${toString tls-listening-port}?transport=udp" "turns:${realm}:${toString tls-listening-port}?transport=udp"
"turns:${realm}:${toString tls-listening-port}?transport=tcp" "turns:${realm}:${toString tls-listening-port}?transport=tcp"
"turn:${realm}:${toString listening-port}?transport=udp"
"turn:${realm}:${toString listening-port}?transport=tcp"
]; ];
# Bind on localhost and used a reverse proxy # Bind on localhost and used a reverse proxy
@ -172,7 +172,7 @@ in
# Enable TLS # Enable TLS
secure-stun = true; secure-stun = true;
no-tcp-relay = false; no-tcp-relay = true;
listening-ips = [ "0.0.0.0" ]; listening-ips = [ "0.0.0.0" ];
@ -183,11 +183,8 @@ in
no-tlsv1 no-tlsv1
no-tlsv1_1 no-tlsv1_1
mobility mobility
#denied-peer-ip=10.0.0.0-10.255.255.255 user-quota=12
#denied-peer-ip=192.168.0.0-192.168.255.255 total-quota=1200
allowed-peer-ip=192.168.1.5
#user-quota=12
#total-quota=1200
verbose=true verbose=true
''; '';
}; };