-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NAT Traversal: Tell users if they are behind a symmetric NAT and document UPnP setup and port forwarding on Routers to help users #1017
Comments
This is done.
This can be enabled with the |
@jacobheun Let's create a nice document on everything address discovery, address advertisement and NAT traversal once we're done with Hole punching and publish the document to the world. Even the UPnP documentation would go there.. |
Would love to help with this.
Edit: Guess this is what was being referred: https://github.com/libp2p/go-libp2p/blob/master/options.go#L399 |
@FelipeRosa Thanks for reaching out. It would be great if you can create a document explaining how UPnP in libp2p works currently, how to enable it on home routers and how to do port forwarding on home routers. Does that sound good ? |
@aarshkshah1992 sounds good. Where should this document be created? |
@FelipeRosa Feel free to create a Pull Request against https://github.com/libp2p/docs. It already has a NAT traversal page. You can add the content there. If that sounds like too much work, you can simply add it all to a Github issue and I'll ensure it makes it's way to the libp2p docs site. |
Not too much work at all! Really like the library. |
Hey @FelipeRosa How's it going ? Is there any way I can help you out with this ? |
Hey @aarshkshah1992, sorry for the long delay. I've been a bit busy in the past couple of weeks (and probably will be until Monday). I'm having some difficulties trying to wrap everything in my head. I've read part of the code for the NAT stuff. What I'm trying to figure out is the "how UPnP works currently in libp2p". Currently I'm trying to find a way of testing how the NAT port map, etc. would work (because my router does not support it). I'm wondering if I could emulate that with containers or VMs in my computer. Do you have any suggestions? Other than that, feel free to guide me if you think I'm steering in the wrong direction here too :). |
go-libp2p
node should be able to tell it's user if it's behind a symmetric NAT.go-libp2p-examples
.The text was updated successfully, but these errors were encountered: