# 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-05-19 07:40+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, the [coturn](https://github.com/coturn/coturn) TURN server component is enabled automatically only when [Jitsi](configuring-playbook-jitsi.md) is enabled. If you're not using Jitsi, coturn is not enabled by default."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:18
msgid "If you explicitly need coturn while not using Jitsi, enable it with:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:24
msgid "and configure its IP-related settings in the section below."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:26
msgid "If you'd like coturn to stay disabled even when Jitsi is enabled, or if you prefer to use an external TURN provider, see [disabling coturn](#disabling-coturn) section below."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:28
msgid "When Coturn is not enabled, homeservers (like Synapse) would not point to TURN servers and *legacy* audio/video call functionality may fail. If you're using [Matrix RTC](configuring-playbook-matrix-rtc.md) (for [Element Call](configuring-playbook-element-call.md)), you likely don't have a need to enable coturn."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:30
msgid "Adjusting firewall rules"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:32
msgid "To ensure Coturn functions correctly, the following firewall rules and port forwarding settings are required when coturn is enabled:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:34
msgid "`3478/tcp`: STUN/TURN over TCP"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:35
msgid "`3478/udp`: STUN/TURN over UDP"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:36
msgid "`5349/tcp`: TURN over TCP"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:37
msgid "`5349/udp`: TURN over UDP"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:38
msgid "`49152-49172/udp`: TURN/UDP relay range"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:40
msgid "If LiveKit's embedded TURN is enabled at the same time (for MatrixRTC/Element Call), keep the Coturn relay range distinct from LiveKit's relay range (`livekit_server_config_turn_relay_range_start`/`livekit_server_config_turn_relay_range_end`)."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:42
msgid "💡 Docker configures the server's internal firewall for you. In most cases, you don't need to do anything special on the host itself."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:44
msgid "Adjusting the playbook configuration"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:46
msgid "Define public IP manually (optional)"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:48
msgid "If you enable coturn (either via Jitsi or manually), we recommend that you configure the public IP addresses of your server in the `vars.yml` file:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:55
msgid "If you'd like to rely on external IP address auto-detection (not recommended unless you need it), avoid configuring this 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:58
msgid "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:60
msgid "Change the authentication mechanism (optional)"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:62
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:64
msgid "To do so, add the following configuration to your `vars.yml` file:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:70
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:72
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:74
msgid "Customize the Coturn hostname (optional)"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:76
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:78
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:84
msgid "The playbook will automatically:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:85
msgid "Configure Coturn to use this hostname"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:86
msgid "Obtain an SSL certificate for the custom domain via Traefik"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:87
msgid "Update all TURN URIs to point to the custom domain"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:89
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:91
msgid "Use your own external coturn server (optional)"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:93
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:107
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:114
msgid "You can put multiple host/port combinations if you'd like to."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:116
msgid "Edit the reloading schedule (optional)"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:118
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:120
msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:126
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:128
msgid "Extending the configuration"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:130
msgid "There are some additional things you may wish to configure about the TURN server."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:132
msgid "Take a look at:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:134
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:136
msgid "Disabling coturn"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:138
msgid "Coturn is only enabled by default when [Jitsi](configuring-playbook-jitsi.md) is enabled. In most instances, you don't need to explicitly disable it."
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:140
msgid "To force the playbook to not install Coturn (even when Jitsi is enabled), add the following configuration to your `vars.yml` file:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:146
msgid "Installing"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:148
msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:155
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:157
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:159
msgid "Troubleshooting"
msgstr ""

#: ../../../docs/configuring-playbook-turn.md:161
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 ""
