Skip to content
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] support libp2p autonat #2865

Closed
1 of 9 tasks
LeoHChen opened this issue Apr 21, 2020 · 2 comments
Closed
1 of 9 tasks

[Feature] support libp2p autonat #2865

LeoHChen opened this issue Apr 21, 2020 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@LeoHChen
Copy link
Contributor

Problem/limitation At Hand

Please look into the libp2p autonat support in harmony node, so that it can work in private network automatically.

https:/libp2p/go-libp2p-autonat

Which component?

  • libp2p
  • consensus
  • deploy script
  • wallet
  • explorer
  • node script
  • test automation
  • demo app
  • others ...

Proposed Solution

We had a way to run harmony node within NAT with manual setup, the document is like there.
https://docs.google.com/document/d/1Pq4hrrBAKDaRGQYQC0da--S5TGIzyfi5u5j67RXh-jo/edit#heading=h.4a85pam05xgm

I expect the autonat library will help node runners to run node within nat without manual configuration, or just one time configuration.

@LeoHChen LeoHChen added the enhancement New feature or request label Apr 21, 2020
@jz0000 jz0000 self-assigned this Apr 22, 2020
@jz0000
Copy link

jz0000 commented May 8, 2020

I have created a new issue: 2959 "enable NAT traversal for simple 1-level NAT situation with UPNP support: connecting local host validator behind a NAT to public leaders" to track the 1st step solution of this general issue.

Basically for the 1st step we don't need to apply libp2p_autonat so generally, as libp2p_autonat is a framework to set up public relay nodes to help nodes behind all possible NAT structure to talk to each other through pre-configured relay public nodes. For our current harmony network, it might not be so urgent, but we can monitor how harmony's networking environment changes in the future.

@jz0000
Copy link

jz0000 commented May 8, 2020

#2959

@LeoHChen LeoHChen added the duplicate This issue or pull request already exists label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants