erp-platform/configs/deployment/configs/turnserver.conf
2025-09-01 15:52:01 +03:00

53 lines
1,014 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ========================
# Coturn TURN/STUN Server
# ========================
# Ports
# ========================
# Coturn TURN/STUN Server
# ========================
# Ports
listening-port=3478
tls-listening-port=5349
# IP / Domain
listening-ip=0.0.0.0
relay-ip=0.0.0.0
external-ip=213.238.160.81/172.20.0.2
realm=turn.sozsoft.com
# Auth
lt-cred-mech
user=webrtc:strongpassword123
# TLS
cert=/etc/ssl/sozsoft.com/fullchain1.pem
pkey=/etc/ssl/sozsoft.com/privkey1.pem
# Security
fingerprint
stale-nonce
no-loopback-peers
no-multicast-peers
# Performance
min-port=49160
max-port=49200
# Logs
#log-file=/var/log/turnserver.log
simple-log
cli-password=supersecret
# sudo ufw allow 3478/udp
# sudo ufw allow 3478/tcp
# sudo ufw allow 5349/udp
# sudo ufw allow 5349/tcp
# sudo ufw allow 49152:49200/udp
# https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/?utm_source=chatgpt.com
# Username: webrtc
# Credential: strongpassword123
# Relay candidate çıkarsa → her şey çalışıyor