Update turnserver.md

This commit is contained in:
Steve Seguin 2020-09-10 09:12:03 -04:00 committed by GitHub
parent 905c39a58b
commit 31b9df5a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,12 @@ see this issue with coturn: https://github.com/coturn/coturn/issues/268
Next, we are going to open up some ports... just in case they are blocked by default. Which exactly? well, these are default ports. TCP may not be needed?
```
sudo ufw allow 49000:65535/tcp
sudo ufw allow 49000:65535/udp
sudo ufw allow 3478/tcp
sudo ufw allow 3478/udp
sudo ufw allow 443/tcp
sudo ufw allow 443/udp
sudo ufw allow 49152:65535/tcp
sudo ufw allow 49152:65535/udp
```
Update turnserver.conf with passwords, domain names, and whatever else that needs changing. Example contents are provided below. Once you have updated it, start the TURN server and ensure it started correctly.
```
@ -49,7 +53,7 @@ listening-port=3478
## TLS needs an SSL certificate and domain, but enables TCP
tls-listening-port=443
# min-port=49000
# min-port=49152
# max-port=65535
realm=turn.obs.ninja