watermark logo

Up next

Autoplay

How to setup a TURN Server for Nextcloud Video Calls

18 Views • 01/10/22
Share
Embed
WorldViralMedia
WorldViralMedia
14 Subscribers
14

In this video, I will show you how to set up a TURN Server for Nextcloud Video Calls.

------ Contents of this video ---------------------------
00:10 - Connect to your TURN server using putty and login as a root user.
00:26 - Install coturn.
00:50 - Enable coturn as a service.
01:10 - Configure the coturn file.
03:53 - Generate secret string.
04:55 - Setup the TURN server on Nextcloud 19.
05:50 - Create new group conversation on Nextcloud talk.
06:18 - Start the call.
06:46 - Confirmed the TURN server is working.
06:55 - Outro.

---- Commands to set up a TURN Server -------

I have used:
1.Ubunto server 20.04 LTS.
2.Dedicated Public IP address or FQDN.

Step 1: install coturn.
# apt-get install coturn

Next enable coturn as service(use the editor of your choice):
# nano /etc/default/coturn

Uncomment the last line,save and close the file:
TURNSERVER_ENABLED=1

Let's config the coturn file,open the turnserver.conf with an editor.
# nano /etc/turnserver.conf

Change the Value of the following lines::
listening-port=3478
tls-listening-port=5349
listening-ip=YourTurnServerIPAddress
relay-ip=YourTurnServerIPAddress
realm=FQDNoftheTurnServer
total-quota=100

Uncomment the following lines:
fingerprint
lt-cred-mech
stale-nonce
no-multicast-peers
use-auth-secret
static-auth-secret=north

Save and close.

Let's paste this command to generate a secret string:
# openssl rand -hex 32

Copy the generated secret string and paste it into the turnserver.conf

Note :
Enabling “use-auth-secret” and setting a “static-auth-secret” will prevent
unauthorized usage of your TURN server and is highly recommended!

Now restart the coturn service.
# service coturn restart

- End -

Please watch our more upcoming videos and don't forget to LIKE, COMMENT, AND SUBSCRIBE.
Thank you!

MD
System Administrator

Show more
0 Comments sort Sort By
Facebook Comments

Up next

Autoplay