jech / galene

The Galène videoconference server
https://galene.org
MIT License
975 stars 132 forks source link

Why use port 1194 for TURN instead of 3478 as assigned by IANA #228

Closed alci63 closed 2 weeks ago

alci63 commented 2 weeks ago

Officially assigned port to TURN / STUN is 3478 (see https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers for unoffical list). It is also the port used by Microsoft Teams, so most organisations with allow it.

Why default to 1194, which is assigned to Openvpn, instead of the offical port ?

Nb: of course, the -turn :3478 can be used

jech commented 2 weeks ago

Why default to 1194, which is assigned to Openvpn, instead of the offical port ?

It's guaranteed to be open in Eduroam networks, see page 32 of the Eduroam Service Definition.

Ideally, we should be running TURN and the web server on the same port, but I don't know how to have net/http and pion/turn share the same port. I've filed a feature request with Pion: https://github.com/pion/turn/issues/418