Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alci63 opened this issue Nov 7, 2024 · 1 comment
Closed

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

alci63 opened this issue Nov 7, 2024 · 1 comment

Comments

@alci63
Copy link

alci63 commented Nov 7, 2024

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
Copy link
Owner

jech commented Nov 7, 2024

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: pion/turn#418

@jech jech closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants