34 lines
599 B
Plaintext
34 lines
599 B
Plaintext
# TURN Server Configuration (coturn)
|
|
# Copy to /etc/turnserver.conf
|
|
|
|
# Ports
|
|
listening-port=3479
|
|
tls-listening-port=5350
|
|
listening-ip=0.0.0.0
|
|
|
|
# External IP for NAT traversal
|
|
# Format: external-ip=<public-ip>/<internal-ip>
|
|
external-ip=YOUR_WAN_IP/192.168.0.154
|
|
|
|
# Authentication
|
|
fingerprint
|
|
use-auth-secret
|
|
static-auth-secret=<TURN_SHARED_SECRET>
|
|
realm=matrix.thevish.io
|
|
|
|
# Quotas
|
|
total-quota=100
|
|
bps-capacity=0
|
|
stale-nonce=600
|
|
|
|
# Security
|
|
no-multicast-peers
|
|
|
|
# Media relay ports (must be forwarded through firewall)
|
|
min-port=49201
|
|
max-port=49250
|
|
|
|
# Logging
|
|
log-file=/var/log/turnserver.log
|
|
verbose
|