@@ -104,19 +104,21 @@ $ sudo chmod 0755 /etc/letsencrypt/renewal-hooks/deploy/coturn
104
104
105
105
Use the file below for ` /etc/turnserver.conf ` and make the following changes:
106
106
107
- * Replace ` <turn.example.com> ` with the hostname of your TURN server, and
108
- * Replace ` <example.com> ` with the realm of your TURN server, and
109
- * Replace ` <secret_value> ` to a random value for a shared secret (you can generate one by running ` openssl rand -hex 16 ` )
110
- * Replace ` <IP> ` with the external IP of your TURN server
107
+ * Replace ` <turn.example.com> ` with the hostname of your TURN server.
108
+ * Replace ` <example.com> ` with the realm of your TURN server.
109
+ * Replace ` <secret_value> ` to a random value for a shared secret (you can generate one by running ` openssl rand -hex 16 ` ).
110
+ * Replace ` <IP> ` with the external IP of your TURN server.
111
+ * Replace ` <bbb_server_ip> ` with the IP Address of your BigBlueButton-Server.
112
+ * Repeat ` allowed-peer-ip=<ip_address> ` for each IPv4 and IPv6 for every BigBlueButton-Server.
111
113
112
114
This configuration file assumes your TURN server is not behind NAT and has a public IP address.
113
115
114
116
``` ini
115
117
listening-port =3478
116
118
tls-listening-port =443
117
119
118
- listening-ip =$IP
119
- relay-ip =$IP
120
+ listening-ip =<IP>
121
+ relay-ip =<IP>
120
122
121
123
# If the server is behind NAT, you need to specify the external IP address.
122
124
# If there is only one external address, specify it like this:
@@ -127,6 +129,23 @@ relay-ip=$IP
127
129
# external-ip=172.17.19.131/10.0.0.11
128
130
# external-ip=172.17.18.132/10.0.0.12
129
131
132
+ # Flag that can be used to disallow peers on well-known broadcast addresses
133
+ # (224.0.0.0 and above, and FFXX:*). This is an extra security measure.
134
+ #
135
+ no-multicast-peers
136
+
137
+ # Option to allow or ban specific ip addresses or ranges of ip addresses.
138
+ # If an ip address is specified as both allowed and denied, then the ip address is
139
+ # considered to be allowed. This is useful when you wish to ban a range of ip
140
+ # addresses, except for a few specific ips within that range.
141
+ #
142
+ # This can be used when you do not want users of the turn server to be able to access
143
+ # machines reachable by the turn server, but would otherwise be unreachable from the
144
+ # internet (e.g. when the turn server is sitting behind a NAT)
145
+ denied-peer-ip =0.0.0.0-255.255.255.255
146
+ denied-peer-ip =::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
147
+ allowed-peer-ip =<bbb_server_ip>
148
+
130
149
min-port =32769
131
150
max-port =65535
132
151
verbose
0 commit comments