Skip to content

Commit

Permalink
Update turnserver.md
Browse files Browse the repository at this point in the history
  • Loading branch information
steveseguin authored Sep 10, 2020
1 parent 0d16068 commit df6c147
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions turnserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ sudo apt install net-tools
note: If you run into error 701 issues with your TURN server, check that the coturn service has access to your new SSL certificates:
see this issue with coturn: https://github.com/coturn/coturn/issues/268

Nexzt, we update the User and Group values in our service file to be "root". This seems to fix the issue with Lets Encrypt. .. I welcome a better solution tho.
```
sudo vi /usr/lib/systemd/system/coturn.service
sudo systemctl daemon-reload
```

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 3478/tcp
Expand All @@ -32,12 +38,6 @@ sudo ufw allow 49152:65535/tcp
sudo ufw allow 49152:65535/udp
```

Now wet the User and Group to root, as this fixes an issue with Lets Encrypt. .. I welcome a better solution tho.
```
sudo vi /usr/lib/systemd/system/coturn.service
sudo systemctl daemon-reload
```

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.
```
sudo vi /etc/turnserver.conf
Expand All @@ -47,7 +47,7 @@ sudo systemctl status coturn
sudo systemctl enable coturn
```

The follwoing are the contents of an example /etc/turnserver.conf file from above
The following are the contents of an example /etc/turnserver.conf file from above
```
## sudo vi /etc/turnserver.conf
Expand Down

0 comments on commit df6c147

Please sign in to comment.