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

    Solved Jitsi self-hosting behind NAT hair-pinning

    Jitsi
    3
    6
    775
    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.
    • ei8fdb
      ei8fdb last edited by ei8fdb

      I'm trying out Jitsi on my Cloudron hosted at home (behind a Mikrotik that supports hairpinning).

      Jitsi installs with no issues, but when clients connect (either from the internal network - where Jitsi server is hosted, or from the Internet) there is no audio or video. Chat messages are sent successfully.

      Pastebin of logs is available here.

      When I look at the logs, this stands out most:

      Feb 13 14:06:30 java.lang.IllegalArgumentException: No socket found for 172.18.20.240:10000/udp->192.168.88.197:60990/udp
      

      I'm guessing port 10000 tcp/udp needs to be configured in my NAT rules?
      Thanks!

      ei8fdb 1 Reply Last reply Reply Quote 0
      • ei8fdb
        ei8fdb @ei8fdb last edited by

        @ei8fdb Answering my own question - yes port 10,000 needs to be added to your NAT rules. I created rules for both UDP and TCP. (Unsure if this is necessary but...)

        1 Reply Last reply Reply Quote 1
        • ei8fdb
          ei8fdb @ei8fdb last edited by

          @ei8fdb Answering my own question - yes port 10,000 needs to be added to your NAT rules. I created rules for both UDP and TCP. (Unsure if this is necessary but...)

          1 Reply Last reply Reply Quote 1
          • nebulon
            nebulon Staff last edited by

            Indeed, like with other apps which show additional TCP or UDP ports during installation, those have to be forwarded if a router with its own firewall is in front of Cloudron.

            Further I haven't found a way to make jitsi work with a different port than 10000. Although Cloudron will allow you to change this port, jitsi will not work on say port 10001. Just mentioning this in case someone tries.

            ei8fdb 1 Reply Last reply Reply Quote 2
            • ei8fdb
              ei8fdb @nebulon last edited by

              @nebulon said in Jitsi self-hosting behind NAT hair-pinning:

              Further I haven't found a way to make jitsi work with a different port than 10000.

              Thanks @nebulon.

              Apart from being able to use something common, 443/80/etc, I don't think it's an issue to have it on 10000.

              I don't know the percentage of Cloudron users who are odd like me and want to self-host, but it might be helpful to add this to documentation. In case they don't get to the forums.

              ericdrgn 1 Reply Last reply Reply Quote 0
              • ericdrgn
                ericdrgn @ei8fdb last edited by ericdrgn

                @ei8fdb did you get it working? I have had that port open since installation (I also self host) but mine has no audio or video either. Similar problem I have to audio calls through matrix... It all works fine on the same network but not if devices are on different networks and as far as I can tell the logs show everything working fine.

                ei8fdb 1 Reply Last reply Reply Quote 0
                • ei8fdb
                  ei8fdb @ericdrgn last edited by

                  @ericdrgn said in Jitsi self-hosting behind NAT hair-pinning:

                  @ei8fdb did you get it working? I have had that port open since installation (I also self host) but mine has no audio or video either. Similar problem I have to audio calls through matrix... It all works fine on the same network but not if devices are on different networks and as far as I can tell the logs show everything working fine.

                  Hi @ericdrgn I was waiting to have the time to test this morning.

                  I have tested just now:

                  1. server (8GB memory & 30% CPU dedicated) on home internet IP
                  2. clientA (laptop, browser) on external WiFi network
                  3. clientB (mobile android device, jitsi client) on mobile network

                  I did have video, and audio from both clients.

                  If you try some calls and grep for the messages I got? You can see them in the paste link.

                  Lemme know if you want any more information/help.

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