PairDrop/turnserver_example.conf

54 lines
1.1 KiB
Text
Raw Normal View History

# TURN server name and realm
2023-04-24 00:39:20 +02:00
# realm can be domain or <IP-ADDRESS>
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-04-24 23:28:49 +02:00
# only needed, if coturn is behind a NAT
#external-ip=<IP_ADDRESS>
2023-04-24 00:39:20 +02:00
# relay-ip is needed for tls turns connections
2023-04-24 23:28:49 +02:00
# it can be set multiple times. A local IP is sufficient (not 127.0.0.1!!)
relay-ip=<SOME_LOCAL_IP_ADDRESS>
2023-04-24 00:39:20 +02:00
# Main listening port
listening-port=3478
2023-04-24 00:39:20 +02:00
# 443 for TURN over TLS, which can bypass firewalls
2023-04-24 23:28:49 +02:00
tls-listening-port=5349
2023-04-24 00:39:20 +02:00
# Further ports that are open for communication
min-port=10000
max-port=20000
# Use fingerprint in TURN message
fingerprint
# Log file path
2023-04-23 00:58:46 +02:00
# - is logging to STDOUT, so it's visible in docker-compose logs
log-file=-
# Enable verbose logging
verbose
# Specify the user for the TURN authentification
user=user:password
# Enable long-term credential mechanism
lt-cred-mech
# SSL certificates
2023-04-24 00:39:20 +02:00
cert=/etc/letsencrypt/fullchain.pem
pkey=/etc/letsencrypt/privkey.pem
dh-file=/etc/dhparam.pem
2023-04-24 00:39:20 +02:00
# For security-reasons disable old ssl and tls-protocols
no-sslv3
no-tlsv1
no-tlsv1_1
stale-nonce=600