194 lines
9.5 KiB
Plaintext
194 lines
9.5 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2018-2026, Slavi Pantaleev, Aine Etke, MDAD community members
|
|
# This file is distributed under the same license as the matrix-docker-ansible-deploy package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: matrix-docker-ansible-deploy \n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2026-02-13 10:32+0000\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:14
|
|
msgid "Configuring a TURN server (optional, advanced)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:16
|
|
msgid "By default, this playbook installs and configures the [coturn](https://github.com/coturn/coturn) as a TURN server, through which clients can make audio/video calls even from [NAT](https://en.wikipedia.org/wiki/Network_address_translation)-ed networks. It also configures the Synapse chat server by default, so that it points to the coturn TURN server installed by the playbook. If that's okay, you can skip this document."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:18
|
|
msgid "If you'd like to stop the playbook installing the server, see the section [below](#disabling-coturn) to check the configuration for disabling it."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:20
|
|
msgid "Adjusting the playbook configuration"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:22
|
|
msgid "Define public IP manually (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:24
|
|
msgid "In the `hosts` file we explicitly ask for your server's external IP address when defining `ansible_host`, because the same value is used for configuring coturn."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:26
|
|
msgid "If you'd rather use a local IP for `ansible_host`, add the following configuration to your `vars.yml` file. Make sure to replace `YOUR_PUBLIC_IP` with the pubic IP used by the server."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:32
|
|
msgid "If you'd like to rely on external IP address auto-detection (not recommended unless you need it), set an empty value to the variable. The playbook will automatically contact an [echoip](https://github.com/mpolden/echoip)-compatible service (`https://ifconfig.co/json` by default) to determine your server's IP address. This API endpoint is configurable via the `coturn_turn_external_ip_address_auto_detection_echoip_service_url` variable."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:34
|
|
msgid "[!NOTE] You can self-host the echoip service by using the [Mother-of-All-Self-Hosting (MASH)](https://github.com/mother-of-all-self-hosting/mash-playbook) Ansible playbook. See [this page](https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/services/echoip.md) for the instruction to install it with the playbook. If you are wondering how to use it for your Matrix server, refer to [this page](https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/setting-up-services-on-mdad-server.md) for the overview."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:37
|
|
msgid "If your server has multiple external IP addresses, the coturn role offers a different variable for specifying them:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:44
|
|
msgid "Change the authentication mechanism (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:46
|
|
msgid "The playbook uses the [`auth-secret` authentication method](https://github.com/coturn/coturn/blob/873cabd6a2e5edd7e9cc5662cac3ffe47fe87a8e/README.turnserver#L186-L199) by default, but you may switch to the [`lt-cred-mech` method](https://github.com/coturn/coturn/blob/873cabd6a2e5edd7e9cc5662cac3ffe47fe87a8e/README.turnserver#L178) which [some report](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3191) to be working better."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:48
|
|
msgid "To do so, add the following configuration to your `vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:54
|
|
msgid "Regardless of the selected authentication method, the playbook generates secrets automatically and passes them to the homeserver and coturn."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:56
|
|
msgid "If [Jitsi](configuring-playbook-jitsi.md) is installed, note that switching to `lt-cred-mech` will disable the integration between Jitsi and your coturn server, as Jitsi seems to support the `auth-secret` authentication method only."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:58
|
|
msgid "Customize the Coturn hostname (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:60
|
|
msgid "By default, Coturn uses the same hostname as your Matrix homeserver (the value of `matrix_server_fqn_matrix`, which is typically `matrix.example.com`)."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:62
|
|
msgid "If you'd like to use a custom subdomain for Coturn (e.g., `turn.example.com` or `t.matrix.example.com`), add the following configuration to your `vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:68
|
|
msgid "The playbook will automatically:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:69
|
|
msgid "Configure Coturn to use this hostname"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:70
|
|
msgid "Obtain an SSL certificate for the custom domain via Traefik"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:71
|
|
msgid "Update all TURN URIs to point to the custom domain"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:73
|
|
msgid "**Note**: Make sure the custom hostname resolves to your server's IP address via DNS before running the playbook."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:75
|
|
msgid "Use your own external coturn server (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:77
|
|
msgid "If you'd like to use another TURN server (be it coturn or some other one), add the following configuration to your `vars.yml` file. Make sure to replace `HOSTNAME_OR_IP` with your own."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:91
|
|
msgid "If you have or want to enable Jitsi, you might want to enable the TURN server there too. If you do not do it, Jitsi will fall back to an upstream service."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:98
|
|
msgid "You can put multiple host/port combinations if you'd like to."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:100
|
|
msgid "Edit the reloading schedule (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:102
|
|
msgid "By default the service is reloaded on 6:30 a.m. every day based on the `coturn_reload_schedule` variable so that new SSL certificates can kick in. It is defined in the format of systemd timer calendar."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:104
|
|
msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:110
|
|
msgid "**Note**: the actual job may run with a delay. See `coturn_reload_schedule_randomized_delay_sec` for its default value."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:112
|
|
msgid "Extending the configuration"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:114
|
|
msgid "There are some additional things you may wish to configure about the TURN server."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:116
|
|
msgid "Take a look at:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:118
|
|
msgid "`roles/galaxy/coturn/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:120
|
|
msgid "Disabling coturn"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:122
|
|
msgid "If, for some reason, you'd like for the playbook to not install coturn (or to uninstall it if it was previously installed), add the following configuration to your `vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:128
|
|
msgid "In that case, Synapse would not point to any coturn servers and audio/video call functionality may fail."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:130
|
|
msgid "Installing"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:132
|
|
msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:139
|
|
msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:141
|
|
msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:143
|
|
msgid "Troubleshooting"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-turn.md:145
|
|
msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-coturn`."
|
|
msgstr ""
|