forked from steveseguin/vdo.ninja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turnserver2.conf
52 lines (37 loc) · 977 Bytes
/
turnserver2.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
listening-port=3478
alt-listening-port=3479
## TLS needs an SSL certificate and domain, but enables TCP
tls-listening-port=443
alt-tls-listening-port=444
# min-port=10000
# max-port=20000
realm=www.turn.obs.ninja
server-name=www.turn.obs.ninja
fingerprint
## Lets just use Google since its more reliable
no-stun
lt-cred-mech
user=UUUUU:PPPPPPPPPPPPP
stale-nonce=600
## depreciated in newer coturn
# no-loopback-peers
no-multicast-peers
## 1-gbps/100 users = 1mbps each
total-quota=100
cert=/var/certs/turn_obs_ninja_chain.crt
pkey=/var/certs/turn_obs_ninja.key
## Tweaks to fix some lets encrypt errors
# cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"
# no-sslv3
# no-tlsv1
# no-tlsv1_1
# no-tlsv1_2
dh2066
# max-bps=650000
# no-udp
# no-tcp
#verbose
no-stdout-log
## bypass the letsencrypt bug; easier than modifying the service
#proc-user=root
#proc-group=root