Janus Gateway and clients behind a NAT and Firewall ( Only 80 and 443 ports opened)

1,104 views
Skip to first unread message

ajm...@cusat.ac.in

unread,
Feb 9, 2016, 2:04:48 AM2/9/16
to meetecho-janus
Greetings

As a part of a educational project work I want to implement the Janus based WebRTC videoroom in a Restricted NAT environment. Only opened ports are 80 and 443. Stun binding failed.

  •  Is it possible to acheive webrtc communication in this system?
  •  The turn server can be connected through tcp ports only?  please suggest some publicly available turn servers working through these ports (80 & 443)?



The video room demo failed inside the network. Please suggest some ideas.


Thanks
Ajmal

Lorenzo Miniero

unread,
Feb 9, 2016, 4:08:48 AM2/9/16
to meetecho-janus
Yes, it's possible. You'll need to setup and configure a TURN server (coturn is a popular choice) to listen on those ports, and have your users use it. You do NOT need to set the TURN server on Janus as well, instead, unless the gateway itself is behind such a restrictive component (and if it is, you're doing it wrong).

L.

ajm...@cusat.ac.in

unread,
Feb 9, 2016, 4:23:37 AM2/9/16
to meetecho-janus
In my case the the gateway itself behind a NAT. Do I need to change that?

Lorenzo Miniero

unread,
Feb 9, 2016, 4:26:24 AM2/9/16
to meetecho-janus
It can work, but performance will probably be not that great, as it will force Janus to request TURN relay candidates for itself for each and every session.
I can understand why users might be behind such a restrictive component, but the server providing the service usually is not supposed to.

L.
Reply all
Reply to author
Forward
0 new messages