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
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ Having the server behind NAT (for example, on Amazon EC2) is OK, but all incomin
28
28
29
29
## Required Software
30
30
31
-
We recommend using a minimal server installation of Ubuntu 18.04. The [coturn](https://github.com/coturn/coturn) software requires port 443 for its exclusive use in our recommended configuration, which means the server cannot have any dashboard software or other web applications running.
31
+
We recommend using a minimal server installation of Ubuntu 20.04. The [coturn](https://github.com/coturn/coturn) software requires port 443 for its exclusive use in our recommended configuration, which means the server cannot have any dashboard software or other web applications running.
32
32
33
-
coturn is already available in the Ubuntu packaging repositories for version 18.04 and later, and it can be installed with apt-get:
33
+
Stable versions of coturn are already available in the Ubuntu packaging repositories for version 20.04 and later, and it can be installed with apt-get:
34
34
35
35
```bash
36
36
$ sudo apt-get update
@@ -45,13 +45,13 @@ You need to setup a fully qualified domain name that resolves to the external IP
45
45
46
46
## Required Ports
47
47
48
-
On the coturn server, you need to have the following ports (in addition port 22) available for BigBlueButton clients to connect (port 3478 and 443) and for coturn to connect to your BigBlueButton server (49152 - 65535).
48
+
On the coturn server, you need to have the following ports (in addition port 22) available for BigBlueButton clients to connect (port 3478 and 443) and for coturn to connect to your BigBlueButton server (32768 - 65535).
# To enable single filename logs you need to enable the simple-log flag
152
152
simple-log
153
+
154
+
# Lower and upper bounds of the UDP relay endpoints:
155
+
# (default values are 49152 and 65535)
156
+
#
157
+
min-port=32768
158
+
max-port=65535
153
159
```
154
160
155
161
If the TURN server is used by many users concurrently, it might hit the open file-handles limit. Therefore it is recommended to increase this limit by adding `ulimit -n 49152` in `/etc/init.d/coturn` or editing the systemd service specification using `sudo systemctl edit --full coturn` and then adding `LimitNOFILE=49152`. Once this change is applied, restart the coturn service.
0 commit comments