Skip to content

TURN & STUN Installation

Dirk Holtwick edited this page Apr 6, 2021 · 3 revisions

This is only required if you want to set up your own COTURN server. Briefing already is connected to an instance of such a server, which is located in Germany at Hetzner. Alternatively you can also use free STUN servers from Google or others.

Follow these steps: https://community.hetzner.com/tutorials/install-turn-stun-server-on-debian-ubuntu-with-coturn

Additionally:

  1. Create a user via turnadmin -a -u brie -r stun.brie.fi -p fi
  2. Set /etc/turnserver.conf to the following:
listening-port=3478
tls-listening-port=5349

fingerprint
lt-cred-mech

user=brie:fi

server-name:stun.brie.fi
realm=stun.brie.fi

total-quota=100
stale-nonce=600

cert=/etc/letsencrypt/live/stun.brie.fi/cert.pem
pkey=/etc/letsencrypt/live/stun.brie.fi/privkey.pem
cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"

no-stdout-log

proc-user=turnserver
proc-group=turnserver

Docker might be an alternative, but I didn't try by myself:


Test if it is working:

Clone this wiki locally