You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: _posts/2019-02-14-setup-turn-server.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,10 +80,12 @@ Current versions of the certbot command set up automatic renewal by default. No
80
80
81
81
`coturn` configuration is stored in the file `/etc/turnserver.conf`. There are a lot of options available, all documented in comments in that file. We include a sample configuration below with comments indicating the recommended settings, with some notes in locations where customization is required.
82
82
83
-
You can repace the contents `/etc/turnserver.conf` with this file and make two changes:
83
+
You can repace the contents `/etc/turnserver.conf` with this file and make three changes:
84
84
85
85
* Replace `turn.example.com` with the hostname of your TURN server, and
86
86
* Replace `<random value>` to a random value for a shared secret (instructions for generating a new secret are in a comment in the file).
87
+
* Replace `<bbb server ip>` with the IP Address of your BigBlueButton-Server
88
+
* Repeat `allowed-peer-ip=<bbb server ip>` for each IPv4 and IPv6 for every BigBlueButton-Server
87
89
88
90
Attention: The `turnserver` process will run as the `turnserver` user, which usually doesn't have access to the certificates/keys in `/etc/letsencrypt/live`. It is recommended that you either create a `ssl-cert` user group, add the `turnserver` user to it and adjust the permissions for `/etc/letsencrypt/live` such that the group can read it or, alternatively, copy the certificates/keys to a safe location (that `turnserver` has access to) after each certificate renewal.
89
91
@@ -111,6 +113,23 @@ tls-listening-port=443
111
113
#external-ip=172.17.19.131/10.0.0.11
112
114
#external-ip=172.17.18.132/10.0.0.12
113
115
116
+
# Flag that can be used to disallow peers on well-known broadcast addresses
117
+
# (224.0.0.0 and above, and FFXX:*). This is an extra security measure.
118
+
#
119
+
no-multicast-peers
120
+
121
+
# Option to allow or ban specific ip addresses or ranges of ip addresses.
122
+
# If an ip address is specified as both allowed and denied, then the ip address is
123
+
# considered to be allowed. This is useful when you wish to ban a range of ip
124
+
# addresses, except for a few specific ips within that range.
125
+
#
126
+
# This can be used when you do not want users of the turn server to be able to access
127
+
# machines reachable by the turn server, but would otherwise be unreachable from the
128
+
# internet (e.g. when the turn server is sitting behind a NAT)
0 commit comments