From b181711c08f1fcab6dee933b0ad05820da2abe8c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 15 Jan 2021 16:01:14 +0100 Subject: [PATCH] Fix --- README.md | 12 ++++++------ conf/coturn-galene.service | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9b39d0e..8378274 100644 --- a/README.md +++ b/README.md @@ -25,16 +25,16 @@ Galène is a videoconferencing server that is easy to deploy (just copy a few fi ### Turnserver -For Voip and video conferencing a turnserver is also installed (and configured). The turnserver listens on two UDP and TCP ports. You can get them with these commands: +For VoIP and video conferencing a TURN server is also installed (and configured). The TURN server listens on two UDP and TCP ports. You can get them with these commands: ``` sudo yunohost app setting galene turnserver_tls_port sudo yunohost app setting galene turnserver_alt_tls_port ``` -The turnserver will also choose a port dynamically when a new call starts. The range is between 49153 - 49193. +The TURN server will also choose a port dynamically when a new call starts. The range is between 49153 - 49193. -For some security reason the ports range (49153 - 49193) isn't automatically open by default. If you want to use the synapse server for voip or conferencing you will need to open this port range manually. To do this just run this command: +For some security reason the ports range (49153 - 49193) isn't automatically open by default. If you want to use Galène server for VoIP or conferencing you will need to open this port range manually. To do this, just run this command: ``` sudo yunohost firewall allow Both 49153:49193 @@ -42,15 +42,15 @@ sudo yunohost firewall allow Both 49153:49193 You might also need to open these ports (if it is not automatically done) on your ISP box. -To prevent the situation when the server is behind a NAT, the public IP is written in the turnserver config. By this the turnserver can send its real public IP to the client. For more information see [the coturn example config file](https://github.com/coturn/coturn/blob/master/examples/etc/turnserver.conf#L102-L120).So if your IP changes, you could run the script `/opt/yunohost/__GALENE_INSTANCE_NAME__/Coturn_config_rotate.sh` to update your config. +To prevent the situation when the server is behind a NAT, the public IP is written in the TURN server config. By this the TURN server can send its real public IP to the client. For more information see [the coturn example config file](https://github.com/coturn/coturn/blob/master/examples/etc/turnserver.conf#L56-L62).So if your IP changes, you could run the script `/opt/yunohost/__GALENE_INSTANCE_NAME__/Coturn_config_rotate.sh` to update your config. -If you have a dynamic IP address, you also might need to update this config automatically. To do that just edit a file named `/etc/cron.d/coturn_config_rotate` and add the following content (just adapt the __SYNAPSE_INSTANCE_NAME__ which could be `galene` or maybe `galene__2`). +If you have a dynamic IP address, you also might need to update this config automatically. To do that just edit a file named `/etc/cron.d/coturn_config_rotate` and add the following content (just adapt the __GALENE_INSTANCE_NAME__ which could be `galene` or maybe `galene__2`). ``` */15 * * * * root bash /opt/yunohost/__GALENE_INSTANCE_NAME__/Coturn_config_rotate.sh; ``` -To check if the TURN server is up and running in Galène, connect as operator and type `/relay-test` in the chat box; if the TURN server is properly configured, you should see a message saying that the relay test has been successful. +To check if Galène can connect to the TURN server, connect to Galène as operator and type `/relay-test` in the chat box; if the TURN server is properly configured, you should see a message saying that the relay test has been successful. ## Documentation diff --git a/conf/coturn-galene.service b/conf/coturn-galene.service index 5cf8abb..09d9cc4 100644 --- a/conf/coturn-galene.service +++ b/conf/coturn-galene.service @@ -1,5 +1,5 @@ [Unit] -Description=coturn +Description=Coturn STUN/TURN Server Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1) After=syslog.target network.target