coturn: expand port range + synapse uses turns now

This commit is contained in:
Viyurz 2023-12-08 13:44:53 +01:00
parent 226700ea0a
commit 99b544491e
4 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ table inet filter {
# TURN
tcp dport { 3478, 5349 } limit rate 5/second accept
udp dport { 3478, 5349, 49152-49200 } limit rate 5/second accept
udp dport { 3478, 5349, 49152-49252 } limit rate 5/second accept
# Allow ICMP
meta l4proto icmp limit rate 1/second accept

View file

@ -18,7 +18,7 @@ services:
- 3478:3478/udp
- 5349:5349
- 5349:5349/udp
- 49152-49200:49152-49200/udp
- 49152-49252:49152-49252/udp
tmpfs:
- /var/lib/coturn
volumes:

View file

@ -65,7 +65,7 @@ url_preview_ip_range_blacklist:
- 'ff00::/8'
- 'fec0::/10'
turn_uris: [ "turn:turn.viyurz.fr?transport=udp", "turn:turn.viyurz.fr?transport=tcp" ]
turn_uris: [ "turn:turns.viyurz.fr?transport=udp", "turn:turns.viyurz.fr?transport=tcp" ]
turn_user_lifetime: 86400000
turn_allow_guests: true
# vim:ft=yaml

View file

@ -11,7 +11,7 @@ realm=turn.viyurz.fr
# (default values are 49152 and 65535)
#
min-port=49152
max-port=49200
max-port=49252
# TLS certificates, including intermediate certs.
# For Let's Encrypt certificates, use `fullchain.pem` here.