Skip to main content

Turn Server

TURN server setup

  • SSH to turn server instance and run the following steps:

>> sudo apt-get update

>> sudo apt-get install coturn

  • Enable Turn server

>> sudo vim /etc/default/coturn

Uncomment following line by removing the '#' at the beginning

          TURNSERVER_ENABLED=1
  • Configure following file

>> sudo vim /etc/turnserver.conf

         listening-port=3478

fingerprint _(Uncomment this line by removing \#)_

lt-cred-mech _(Uncomment this line by removing \#)_

user=**\<user\>:\<password\>** _(Add username and password – note these_values)

realm= \<**Portal_DNS**\> (eg: stage.ProConf.com)

cli-password=**\<passwd_to_use_for_exposed_telnet_cli\>**
  • Note down user:passowod, these credentials are needed in App-server configuration.

  • Note down the cli-password, it needs to go in turn_monitor configuration.

Commands to manage Turn Server

  • Stop coturn service

>> sudo service coturn stop

  • Start coturn service

>> sudo service coturn start

  • Check coturn service status

>> sudo service coturn status

Ensure status command output mentions Active: active (running)