2018-05-25 20:58:53 +02:00
|
|
|
use-auth-secret
|
|
|
|
static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
|
2019-02-28 11:51:09 +02:00
|
|
|
realm=turn.{{ matrix_server_fqn_matrix }}
|
2018-05-25 20:58:53 +02:00
|
|
|
min-port={{ matrix_coturn_turn_udp_min_port }}
|
|
|
|
max-port={{ matrix_coturn_turn_udp_max_port }}
|
|
|
|
external-ip={{ matrix_coturn_turn_external_ip_address }}
|
|
|
|
log-file=stdout
|
|
|
|
pidfile=/var/tmp/turnserver.pid
|
|
|
|
userdb=/var/tmp/turnserver.db
|
2019-01-29 17:56:40 +02:00
|
|
|
no-cli
|
2019-02-07 13:20:30 +02:00
|
|
|
no-tls
|
|
|
|
no-dtls
|
2019-01-29 17:56:40 +02:00
|
|
|
prod
|
2019-03-18 13:18:30 +02:00
|
|
|
no-tcp-relay
|
2019-03-18 13:58:52 +02:00
|
|
|
{% if matrix_coturn_user_quota != None %}
|
2019-03-18 13:18:30 +02:00
|
|
|
user-quota={{ matrix_coturn_user_quota }}
|
|
|
|
{% endif %}
|
2019-03-18 13:58:52 +02:00
|
|
|
{% if matrix_coturn_total_quota != None %}
|
2019-03-18 13:18:30 +02:00
|
|
|
total-quota={{ matrix_coturn_total_quota }}
|
|
|
|
{% endif %}
|
|
|
|
{% for ip_range in matrix_coturn_denied_peer_ips %}
|
|
|
|
denied-peer-ip={{ ip_range }}
|
|
|
|
{% endfor %}
|
|
|
|
{% for ip_range in matrix_coturn_allowed_peer_ips %}
|
|
|
|
allowed-peer-ip={{ ip_range }}
|
|
|
|
{% endfor %}
|