Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Use external turn server

    Matrix (Synapse/Element)
    2
    4
    147
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eganonoa last edited by

      Is there any way to change the turn server in matrix in order to use an external one? I need to do this because I proxy my services behind Cloudflare, which renders the Cloudron turn server inoperable.

      The challenge here is that changing the turn server in homeserver.yaml doesn't take effect without a restart (at least I think), which then results in the homeserver.yaml file being overwritten with the Cloudron turn server.

      Any thoughts on how I might do this would be much appreciated. Currently we can only make calls successfully within our network and need to use our external turn server in order to then start rolling out matrix/element to our wider network.

      1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by

        Does Matrix respect SRV DNS records?

        Cloudflare can be set up for those and pass the hints to the TURN ports you already have.

        Life of Gratitude.
        Life of Advanced Technology

        E 2 Replies Last reply Reply Quote 0
        • E
          eganonoa @robi last edited by

          @robi Thanks very much for the reply! It does seem like matrix does respect SRV DNS records (see e.g. here and here).

          I think I'd still prefer to add our external turn server as it works on port 443. But this is definitely something I'm keen to explore. I'll have a play around to see if that can work around things.

          1 Reply Last reply Reply Quote 0
          • E
            eganonoa @robi last edited by

            @robi That doesn't do the trick unfortunately. It results in the underlying IP of the cloudron server being exposed, which undermines the purpose of the cloudflare proxying.

            So i think I still need to find a way to add in our external turn server and allow it to survive a reboot.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB