[turn] make external ip mapping optional

This commit is contained in:
Nico Schottelius 2024-02-21 19:07:56 +09:00
parent 272954d33a
commit b7a79de055
2 changed files with 3 additions and 2 deletions

View file

@ -77,5 +77,4 @@ runa:
mtx-turn-1.lta.internal.ru.com: # waiting for public IP
matrix_service: "turn"
turn:
realm: "turn-1.corp-serv.net-incorrect-fixme"
external_ip: "1.2.3.4/10.164.128.135"
realm: "mtx-turn-1.lta.internal.ru.com"

View file

@ -5,7 +5,9 @@ listening-port=3478
min-port=49152
max-port=65535
{% if turn.external_ip is defined %}
external-ip={{ turn.external_ip }}
{% endif %}
#log-file=stdout
log-file=/logs/turn-{{ inventory_hostname }}.log