diff --git a/matrix/synapse/README.md b/matrix/synapse/README.md index 1e9f4ef..423a491 100644 --- a/matrix/synapse/README.md +++ b/matrix/synapse/README.md @@ -403,3 +403,22 @@ able to set these, of course. But when you use LDAP, which provides these values, you don't want users to change those. See for more options [Synapse's documentation](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#registration). + + +# TURN + +Check for more information about [how to configure the TURN +server](../coturn). Once you've set up your TURN server, configure it in +Synapse, in `conf.d/turn.yaml`: + +``` +turn_shared_secret: "" +turn_uris: + - "turn:turn.matrixdev.example.com?transport=udp" + - "turn:turn.matrixdev.example.com?transport=tcp" +turn_user_lifetime: 86400000 +turn_allow_guests: true +``` + +Restart Synapse to activate this bit. +