-
Notifications
You must be signed in to change notification settings - Fork 867
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
[feature] Specify different remote and local ports for rendezvous connections in stransmit #526
Comments
I haven't tracked down exactly this requirement that the port number should be the same on both sides for rendezvous. For what I know about the rendezvous process, there should be no real obstacle to use different ports per site in rendezvous. The parameter you designated as But to be sure that this can be used safely, I need to make more investigation. |
It looks like this was resolved in #1204, which removed extra checks for local and remote ports in rendezvous to be the same. |
Waiting for #1198 which fixes rendezvous handling in URI parsing. |
#1198 is merged. Closing this request. |
Related: #369
It seems useful to be able to specify different port numbers for the local and remote while negotiating rendezvous connections.
For example, the public port (on the router) may not match the port on the machine (is is already mapped to a different local ip, etc), so it would be difficult to configure.
Additionally, it allows for local testing of rendezvous connections (my personal interest).
If there is interest in such a feature, I am willing to implement it.
One possible syntax could be
stransmit srt://hello.com:3333?mode=rendezvous?local_port=4444 ...
, where this would bind to port 4444 but connect to port 3333.This syntax could also be added for callers.
The text was updated successfully, but these errors were encountered: