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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Jitsi self-hosting behind NAT hair-pinning

Scheduled Pinned Locked Moved Solved Jitsi
6 Posts 3 Posters 892 Views
    • 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.
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    wrote on last edited by ei8fdb
    #1

    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!

    ei8fdbE 1 Reply Last reply
    0
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to ei8fdb on last edited by
    #0

    @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
    1
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to ei8fdb on last edited by
    #2

    @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
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #3

    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.

    ei8fdbE 1 Reply Last reply
    2
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to nebulon on last edited by
    #4

    @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.

    ericdrgnE 1 Reply Last reply
    0
  • ericdrgnE Offline
    ericdrgnE Offline
    ericdrgn
    replied to ei8fdb on last edited by ericdrgn
    #5

    @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.

    ei8fdbE 1 Reply Last reply
    0
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to ericdrgn on last edited by
    #6

    @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
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.