2023-04-19 17:38:14 +02:00
|
|
|
# TURN server name and realm
|
|
|
|
realm=<DOMAIN>
|
|
|
|
server-name=pairdrop
|
|
|
|
|
|
|
|
# IPs the TURN server listens to
|
|
|
|
listening-ip=0.0.0.0
|
|
|
|
|
|
|
|
# External IP-Address of the TURN server
|
2023-10-28 04:23:59 +02:00
|
|
|
# only needed, if coturn is behind a NAT
|
|
|
|
# external-ip=<IP_ADDRESS>
|
2023-04-19 17:38:14 +02:00
|
|
|
|
2023-10-28 04:23:59 +02:00
|
|
|
# Main listening port for STUN and TURN
|
2023-04-19 17:38:14 +02:00
|
|
|
listening-port=3478
|
|
|
|
|
2023-10-28 04:23:59 +02:00
|
|
|
# Main listening port for TURN over TLS (TURNS)
|
|
|
|
# Use port 443 to bypass some firewalls
|
|
|
|
tls-listening-port=5349
|
|
|
|
|
2023-04-19 17:38:14 +02:00
|
|
|
# Further ports that are open for communication
|
|
|
|
min-port=10000
|
|
|
|
max-port=20000
|
|
|
|
|
|
|
|
# Use fingerprint in TURN message
|
|
|
|
fingerprint
|
|
|
|
|
|
|
|
# Enable verbose logging
|
2023-10-28 04:23:59 +02:00
|
|
|
# verbose
|
|
|
|
|
|
|
|
# Log file path
|
|
|
|
# - is logging to STDOUT, so it's visible in docker-compose logs
|
|
|
|
log-file=-
|
2023-04-19 17:38:14 +02:00
|
|
|
|
|
|
|
# Specify the user for the TURN authentification
|
2023-10-28 04:23:59 +02:00
|
|
|
user=username:password
|
2023-04-19 17:38:14 +02:00
|
|
|
|
|
|
|
# Enable long-term credential mechanism
|
|
|
|
lt-cred-mech
|
|
|
|
|
|
|
|
# SSL certificates
|
2023-10-28 04:23:59 +02:00
|
|
|
cert=/etc/coturn/ssl/cert.crt
|
|
|
|
pkey=/etc/coturn/ssl/pkey.pem
|
|
|
|
dh-file=/etc/coturn/ssl/dhparam.pem
|
|
|
|
|
|
|
|
# For security-reasons disable old ssl and tls-protocols
|
|
|
|
# and other recommended options: see https://github.com/coturn/coturn/blob/master/examples/etc/turnserver.conf
|
|
|
|
no-sslv3
|
|
|
|
no-tlsv1
|
|
|
|
no-tlsv1_1
|
|
|
|
no-tlsv1_2
|
|
|
|
no-rfc5780
|
|
|
|
no-stun-backward-compatibility
|
|
|
|
response-origin-only-with-rfc5780
|
|
|
|
no-cli
|
|
|
|
no-multicast-peers
|
|
|
|
no-software-attribute
|
|
|
|
check-origin-consistency
|