diff --git a/README.md b/README.md index c781159..05036c8 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ https://federationtester.matrix.org/ can be used to easily debug federation issu ### 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: -``` +```bash yunohost app setting synapse port_turnserver_tls yunohost app setting synapse port_turnserver_alt_tls @@ -74,7 +74,7 @@ The turnserver will also choose a port dynamically when a new call starts. The r 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: -``` +```bash yunohost firewall allow Both 49153:49193 ``` @@ -91,7 +91,7 @@ If you have a dynamic IP address, you also might need to update this config auto #### OpenVPN In case of you have an OpenVPN server you might want than `synapse-coturn` restart when the VPN restart. To do this create a file named `/usr/local/bin/openvpn_up_script.sh` with this content: -``` +```bash #!/bin/bash ( diff --git a/README_fr.md b/README_fr.md index 4acc11f..7a1cd43 100644 --- a/README_fr.md +++ b/README_fr.md @@ -65,7 +65,7 @@ https://federationtester.matrix.org/ can be used to easily debug federation issu ### 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: -``` +```bash yunohost app setting synapse port_turnserver_tls yunohost app setting synapse port_turnserver_alt_tls @@ -74,7 +74,7 @@ The turnserver will also choose a port dynamically when a new call starts. The r 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: -``` +```bash yunohost firewall allow Both 49153:49193 ``` @@ -91,7 +91,7 @@ If you have a dynamic IP address, you also might need to update this config auto #### OpenVPN In case of you have an OpenVPN server you might want than `synapse-coturn` restart when the VPN restart. To do this create a file named `/usr/local/bin/openvpn_up_script.sh` with this content: -``` +```bash #!/bin/bash ( @@ -220,4 +220,4 @@ ou sudo yunohost app upgrade synapse -u https://github.com/YunoHost-Apps/synapse_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file