Skip to content

Master2022E/TurnServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turn Server deployment

This deployment uses the TURN server implementation coTurn, which is also offered in a docker image which is used for easy configuration and replication.

For understanding TURN and doing the deployment the following links was used:

To run the docker image on a server:

docker run -d --network=host -v $(pwd)/my.conf:/etc/coturn/turnserver.conf coturn/coturn

or

make run

Setup

The only thing that is required to update in the config is the line: user=username2:password2 and the line: realm=thomsen-it.dk corresponding to the FQDN pointing to the server.

Requirements:

Community recommended hardware specifications can be found here. But we have had no problems running the coTurn server on 1 CPU core, 2 GB and 32 GB disk for our small two client setup.

NOTE: Open the firewall on the server to something like this:

$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
---                        --------    ---             
3478                       ALLOW IN    Anywhere                  
3478/udp                   ALLOW IN    Anywhere                  
5349                       ALLOW IN    Anywhere                  
5349/udp                   ALLOW IN    Anywhere                  
49160:49200/udp            ALLOW IN    Anywhere                  
49152:65535/udp            ALLOW IN    Anywhere                  
8080                       ALLOW IN    Anywhere                  
3000                       DENY IN     Anywhere                       
3478 (v6)                  ALLOW IN    Anywhere (v6)             
3478/udp (v6)              ALLOW IN    Anywhere (v6)             
5349 (v6)                  ALLOW IN    Anywhere (v6)             
5349/udp (v6)              ALLOW IN    Anywhere (v6)             
49160:49200/udp (v6)       ALLOW IN    Anywhere (v6)             
49152:65535/udp (v6)       ALLOW IN    Anywhere (v6)             
8080 (v6)                  ALLOW IN    Anywhere (v6) 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors