-
Notifications
You must be signed in to change notification settings - Fork 25
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
Forwarding random port with upnpc #700 #810
Forwarding random port with upnpc #700 #810
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code seems ok for me
Not an issue, I didn't notice the force = false flag. |
Not an issue, I didn't notice the force = false flag. |
@apoorv-2204 Could you check why the CI is not passing ? |
Thanks for pointing it out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On line 21 of PortForwarding module, if the function do_try_open_port
return an error, the fallback is never called so the random port is never published
|
Description
We chose a random port , from a list of unassigned ports as per IANA.
Fixes
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Manual
![image](https://user-images.githubusercontent.com/90304197/210818559-562c9839-9cb0-4540-a3e7-66539211b4dd.png)
Checklist: