coturn / turnserver.conf
privateone's picture
Update turnserver.conf
02b7226 verified
# turnserver.conf - minimal example
# Listening port (container uses 3478 by default)
listening-port=7860
tls-listening-port=5349
# Enable long-term credential mechanism
#lt-cred-mech
# Static user for testing (username:password)
user=myuser:mypassword
# Realm shown to clients
realm=examplerealm
# Use fingerprint attribute
fingerprint
# Allow both UDP and TCP (do NOT include 'no-udp' if you want UDP enabled)
# If you want to explicitly disable UDP, add the line: no-udp
# Relay port range (optional — recommended in production)
min-port=50000
max-port=50010
# Log to stdout
log-file=stdout
simple-log
# Example production settings (commented)
# use-auth-secret
# static-auth-secret=your_very_long_secret_here
# cert=/etc/coturn/certs/fullchain.pem
# pkey=/etc/coturn/certs/privkey.pem