Spaces:
Paused
Paused
Update turnserver.conf
Browse files- turnserver.conf +12 -23
turnserver.conf
CHANGED
|
@@ -1,45 +1,34 @@
|
|
| 1 |
# turnserver.conf - minimal example
|
| 2 |
|
| 3 |
-
# Listening port (container
|
| 4 |
listening-port=3478
|
| 5 |
tls-listening-port=5349
|
| 6 |
|
| 7 |
-
# Enable long-term credential mechanism
|
| 8 |
lt-cred-mech
|
| 9 |
|
| 10 |
-
# Static user (username:password)
|
| 11 |
user=testuser:testpass
|
| 12 |
|
| 13 |
# Realm shown to clients
|
| 14 |
realm=examplerealm
|
| 15 |
|
| 16 |
-
#
|
| 17 |
fingerprint
|
| 18 |
|
| 19 |
-
# Allow both UDP and TCP
|
| 20 |
-
|
| 21 |
-
# no-tcp # <-- leave commented to allow TCP
|
| 22 |
|
| 23 |
-
# Relay
|
| 24 |
-
#
|
| 25 |
-
#
|
| 26 |
-
# Example to use the same relay port (may or may not work with your clients):
|
| 27 |
-
# min-port=3479
|
| 28 |
-
# max-port=3479
|
| 29 |
|
| 30 |
-
# Log to stdout
|
| 31 |
log-file=stdout
|
| 32 |
simple-log
|
| 33 |
|
| 34 |
-
#
|
| 35 |
-
# userdb=/etc/coturn/turndb
|
| 36 |
-
|
| 37 |
-
# Stun-only fallback is possible if relaying is impossible:
|
| 38 |
-
# support-stun
|
| 39 |
-
|
| 40 |
-
# Optional secure production settings:
|
| 41 |
# use-auth-secret
|
| 42 |
-
# static-auth-secret
|
| 43 |
-
# cert and pkey paths if using TLS:
|
| 44 |
# cert=/etc/coturn/certs/fullchain.pem
|
| 45 |
# pkey=/etc/coturn/certs/privkey.pem
|
|
|
|
| 1 |
# turnserver.conf - minimal example
|
| 2 |
|
| 3 |
+
# Listening port (container uses 3478 by default)
|
| 4 |
listening-port=3478
|
| 5 |
tls-listening-port=5349
|
| 6 |
|
| 7 |
+
# Enable long-term credential mechanism
|
| 8 |
lt-cred-mech
|
| 9 |
|
| 10 |
+
# Static user for testing (username:password)
|
| 11 |
user=testuser:testpass
|
| 12 |
|
| 13 |
# Realm shown to clients
|
| 14 |
realm=examplerealm
|
| 15 |
|
| 16 |
+
# Use fingerprint attribute
|
| 17 |
fingerprint
|
| 18 |
|
| 19 |
+
# Allow both UDP and TCP (do NOT include 'no-udp' if you want UDP enabled)
|
| 20 |
+
# If you want to explicitly disable UDP, add the line: no-udp
|
|
|
|
| 21 |
|
| 22 |
+
# Relay port range (optional — recommended in production)
|
| 23 |
+
# min-port=50000
|
| 24 |
+
# max-port=50010
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
# Log to stdout
|
| 27 |
log-file=stdout
|
| 28 |
simple-log
|
| 29 |
|
| 30 |
+
# Example production settings (commented)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
# use-auth-secret
|
| 32 |
+
# static-auth-secret=your_very_long_secret_here
|
|
|
|
| 33 |
# cert=/etc/coturn/certs/fullchain.pem
|
| 34 |
# pkey=/etc/coturn/certs/privkey.pem
|