ipv6: coturn support

This commit is contained in:
chandi 2020-07-21 17:23:08 +02:00
parent d1ed3f7549
commit 4e97de7cb7
2 changed files with 11 additions and 2 deletions

View File

@ -4,7 +4,8 @@ services:
image: instrumentisto/coturn:4.5
restart: unless-stopped
command:
- "--external-ip=${EXTERNAL_IPv4}"
- "--external-ip=${EXTERNAL_IPv4}/${EXTERNAL_IPv4}"
- "--external-ip=${EXTERNAL_IPv6:-::1}/${EXTERNAL_IPv6:-::1}"
- "--static-auth-secret=${TURN_SECRET}"
volumes:
- ssl_data:/etc/resty-auto-ssl

View File

@ -60,4 +60,12 @@ no-tlsv1
no-tlsv1_1
# To enable single filename logs you need to enable the simple-log flag
syslog
syslog
# Allocate Address Family according
# If enabled then TURN server allocates address family according the TURN
# Client <=> Server communication address family.
# (By default Coturn works according RFC 6156.)
# !!Warning: Enabling this option breaks RFC6156 section-4.2 (violates use default IPv4)!!
keep-address-family