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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Why does matrix docker not open ports needed for turn server?

Why does matrix docker not open ports needed for turn server?

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
21 Posts 4 Posters 3.2k Views 4 Watching
  • 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #4

    Since the turn server exposes a port range 50000-51000/udp it runs on the host interface directly. You should see the firewall settings with iptables -L and then for the turn server this section:

    ACCEPT     tcp  --  anywhere             anywhere             multiport dports 3478,5349
    ACCEPT     udp  --  anywhere             anywhere             multiport dports 3478,5349
    ACCEPT     udp  --  anywhere             anywhere             multiport dports 50000:51000
    
    danielreyes61D 1 Reply Last reply
    0
    • danielreyes61D danielreyes61

      @nebulon ok I see the turn server running in services tab but how do I see what ports are opened for the turn server? As it is right now, video and phone calling has not worked for anyone using cloudron so i am trying to get it to work here. My setup is a basic matrix install that is functioning fine for messages but does not work for video and voice calls.

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #5

      @danielreyes61 said in Why does matrix docker not open ports needed for turn server?:

      video and phone calling has not worked for anyone using cloudron

      I've not tried it for a while, but when video calling first came out I gave it a try and it worked fine with a 1 to 1 call (not tried a group, which I guess is where the turn server comes in)

      I use Cloudron with Gandi & Hetzner

      danielreyes61D 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @danielreyes61 said in Why does matrix docker not open ports needed for turn server?:

        video and phone calling has not worked for anyone using cloudron

        I've not tried it for a while, but when video calling first came out I gave it a try and it worked fine with a 1 to 1 call (not tried a group, which I guess is where the turn server comes in)

        danielreyes61D Offline
        danielreyes61D Offline
        danielreyes61
        wrote on last edited by
        #6

        @jdaviescoates it works fine when both parties are on the same network.

        jdaviescoatesJ 1 Reply Last reply
        1
        • danielreyes61D danielreyes61

          @jdaviescoates it works fine when both parties are on the same network.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #7

          @danielreyes61 my 1 to 1 call didn't involve people on the same network, but I guess maybe it was in p2p mode like how Jitsi works p2p when 1 to 1 too 🤷‍♂️ but I'm just guessing and it was a while ago.

          I use Cloudron with Gandi & Hetzner

          danielreyes61D 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @danielreyes61 my 1 to 1 call didn't involve people on the same network, but I guess maybe it was in p2p mode like how Jitsi works p2p when 1 to 1 too 🤷‍♂️ but I'm just guessing and it was a while ago.

            danielreyes61D Offline
            danielreyes61D Offline
            danielreyes61
            wrote on last edited by
            #8

            @jdaviescoates interesting. I wonder if it's working for others now? I feel like i've tried everything.

            jdaviescoatesJ robiR 2 Replies Last reply
            1
            • danielreyes61D danielreyes61

              @jdaviescoates interesting. I wonder if it's working for others now? I feel like i've tried everything.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #9

              @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

              I use Cloudron with Gandi & Hetzner

              danielreyes61D jdaviescoatesJ 3 Replies Last reply
              1
              • danielreyes61D danielreyes61

                @jdaviescoates interesting. I wonder if it's working for others now? I feel like i've tried everything.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #10

                @danielreyes61 it does if all the network plumbing to all the parties is working. You'd have to test both tcp and udp connectivity as those are separate audio and video channels.

                It's also not always a Cloudron side issue, as clients have misconfigured routers too.

                Conscious tech

                1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

                  danielreyes61D Offline
                  danielreyes61D Offline
                  danielreyes61
                  wrote on last edited by
                  #11

                  @jdaviescoates sure, trying now!

                  1 Reply Last reply
                  1
                  • jdaviescoatesJ jdaviescoates

                    @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

                    danielreyes61D Offline
                    danielreyes61D Offline
                    danielreyes61
                    wrote on last edited by
                    #12

                    @jdaviescoates tried to join and send message, it says Messages failed to send, do i need to be federated or anything?

                    jdaviescoatesJ 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      Since the turn server exposes a port range 50000-51000/udp it runs on the host interface directly. You should see the firewall settings with iptables -L and then for the turn server this section:

                      ACCEPT     tcp  --  anywhere             anywhere             multiport dports 3478,5349
                      ACCEPT     udp  --  anywhere             anywhere             multiport dports 3478,5349
                      ACCEPT     udp  --  anywhere             anywhere             multiport dports 50000:51000
                      
                      danielreyes61D Offline
                      danielreyes61D Offline
                      danielreyes61
                      wrote on last edited by
                      #13

                      @nebulon ok I see them now, thank you. It must be an issue with my host then. Oracle Cloud Free Tier.

                      1 Reply Last reply
                      0
                      • danielreyes61D danielreyes61

                        @jdaviescoates tried to join and send message, it says Messages failed to send, do i need to be federated or anything?

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #14

                        @danielreyes61 said in Why does matrix docker not open ports needed for turn server?:

                        @jdaviescoates tried to join and send message, it says Messages failed to send, do i need to be federated or anything?

                        TBH I'm not sure, but I'm not seeing any requests to chat at my end 🤔

                        I use Cloudron with Gandi & Hetzner

                        danielreyes61D 1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          @danielreyes61 said in Why does matrix docker not open ports needed for turn server?:

                          @jdaviescoates tried to join and send message, it says Messages failed to send, do i need to be federated or anything?

                          TBH I'm not sure, but I'm not seeing any requests to chat at my end 🤔

                          danielreyes61D Offline
                          danielreyes61D Offline
                          danielreyes61
                          wrote on last edited by
                          #15

                          @jdaviescoates ok no worries. thanks for trying!! I'm not too sure either. All good though. Pretty sure the issue is with my host. May try some other things locally to test to be sure. Thanks!

                          1 Reply Last reply
                          1
                          • danielreyes61D danielreyes61 has marked this topic as solved on
                          • jdaviescoatesJ jdaviescoates

                            @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #16

                            @jdaviescoates said in Why does matrix docker not open ports needed for turn server?:

                            @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

                            @danielreyes61 tried but I didn't see anything at my end. Perhaps anyone else reading this could give it a try (just to reassure me it is working at my end 🙂 ) @robi ?

                            I use Cloudron with Gandi & Hetzner

                            robiR 1 Reply Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

                              @jdaviescoates said in Why does matrix docker not open ports needed for turn server?:

                              @danielreyes61 shall we see if it's still working for me? https://matrix.to/#/@josef:uniteddiversity.coop

                              @danielreyes61 tried but I didn't see anything at my end. Perhaps anyone else reading this could give it a try (just to reassure me it is working at my end 🙂 ) @robi ?

                              robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #17

                              @jdaviescoates sent you a note and it went through 😉

                              No fear.

                              Conscious tech

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • robiR robi

                                @jdaviescoates sent you a note and it went through 😉

                                No fear.

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #18

                                @robi thanks 🙏

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                0
                                • nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #19

                                  @danielreyes61 maybe worth looking at the ICE handling on your browser side which potential routes it proposes. At least firefox has about:webrtc to get more info.

                                  danielreyes61D 1 Reply Last reply
                                  1
                                  • nebulonN nebulon

                                    @danielreyes61 maybe worth looking at the ICE handling on your browser side which potential routes it proposes. At least firefox has about:webrtc to get more info.

                                    danielreyes61D Offline
                                    danielreyes61D Offline
                                    danielreyes61
                                    wrote on last edited by
                                    #20

                                    @nebulon what is ice handling?

                                    1 Reply Last reply
                                    0
                                    • nebulonN Offline
                                      nebulonN Offline
                                      nebulon
                                      Staff
                                      wrote on last edited by
                                      #21

                                      In this case I meant https://en.wikipedia.org/wiki/Interactive_Connectivity_Establishment

                                      1 Reply Last reply
                                      1
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search