-
Notifications
You must be signed in to change notification settings - Fork 165
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
iroh does not work with relays without STUN on networks without UPnP #2876
Comments
If you don't have a host without UPnP, a server such as Hetzner VPS is sufficient. |
Well that mostly depends on your firewall setup as most VPSs will get a public IP and won't need additional port forwarding shenanigans. |
This VPS has a public IP 65.109.140.51 seen in the log. There is no firewall configured on the host. Yet |
One more detail: STUN server on port 3478 is accidentally firewalled away. |
So, we figured out roughly the list of things that went wrong
A prototype fix is in 2eb3c8f which will need cleanup, but in all my testing shows to fix the issue |
Closes #2876 --------- Co-authored-by: Philipp Krüger <[email protected]> Co-authored-by: Divma <[email protected]>
To reproduce, create
iroh.toml
file in the root of this repo checkout:https://iroh.testrun.org.:4443 is running iroh-relay 0.25.0.
Then run:
On a network with UPNP it works:
The problem is present since iroh 0.27.0. More precisely, commit 5e40fe1, PR #2804
This PR pulled in commit dariusc93/rust-igd@56934bb of rust-igd (
igd-next
crate) that was merged from PR dariusc93/rust-igd#8The text was updated successfully, but these errors were encountered: