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
[Question] Limit WebRTC port range? #101
Comments
I guess the limitation of the port range should be controlled by the firewall rule. example : GCP |
Hi @karasusan, thank you for your reply. I guess I can limit the ports, which will be functioning (and returned as SERVER CANDIDATES from the STUN service) via blocks by firewall rules, but I want to know the port ranges, which will be tried in the first place. Maybe this question is better located at https://github.com/Unity-Technologies/UnityRenderStreaming, what do you think? |
The same question is posted on Unity forum. |
Hi, @karasusan , here's one snippet implemented the port range feature. But currently the port range is hard coded in |
@juju812 |
Hi @karasusan Do you have any schedule to integrate the port range feature? If not, maybe I can follow current configuration tamplate and complete my code. Then I'll create a PR after implement finished. |
@juju812 |
memo: WRS-238 |
Is it possible to limit the port ranges used for WebRTC connections?
I see, that for UDP connection ports above 60000 and for TCP port in the 54000ish range.
Is there a known default range for UDP or TCP?
Also, can I configure a limited port range?
The text was updated successfully, but these errors were encountered: