Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit f0b37df

Browse files
committed
Merge branch 'master' of github.com:bigbluebutton/bigbluebutton.github.io into master
2 parents b6782cb + 5d6a6d2 commit f0b37df

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

_posts/2019-02-14-setup-turn-server.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Having the server behind NAT (for example, on Amazon EC2) is OK, but all incomin
2828

2929
## Required Software
3030

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.
3232

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:
3434

3535
```bash
3636
$ sudo apt-get update
@@ -45,13 +45,13 @@ You need to setup a fully qualified domain name that resolves to the external IP
4545

4646
## Required Ports
4747

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).
4949

5050
| Ports | Protocol | Description |
5151
| ----------- | -------- | --------------------- |
5252
| 3478 | TCP/UDP | coturn listening port |
5353
| 443 | TCP/UDP | TLS listening port |
54-
| 49152-65535 | UDP | relay ports range |
54+
| 32768-65535 | UDP | relay ports range |
5555

5656
## Generating TLS certificates
5757

@@ -150,6 +150,12 @@ log-file=/var/log/coturn.log
150150

151151
# To enable single filename logs you need to enable the simple-log flag
152152
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
153159
```
154160

155161
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

Comments
 (0)