Ring can be configured to use TURN or STUN servers (RFC5766) to establish a connection between two peers.
COTURN is available in most Linux distributions. On Debian, install it with the following command:
apt-get install coturn
Here is a basic turnserver.conf file:
3. Creating users on your TURN server
To create users on your TURN server, use the turnadmin binary.
turnadmin -a -u bob -p secretpassword -r sfl
4. Launching the TURN server
turnserver -c turnserver.conf
5. Configuring Ring to authenticate to the TURN server
You may configure Ring to use your TURN server from the advanced tab your account settings: