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

NAT traversal #12

Closed
2 tasks
D4nte opened this issue Mar 28, 2021 · 1 comment
Closed
2 tasks

NAT traversal #12

D4nte opened this issue Mar 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@D4nte
Copy link
Contributor

D4nte commented Mar 28, 2021

Problem

js-waku is built to allow dapps & wallets to support the waku protocol. Hence, the target platform are user devices that have little or no control on their network topology (mobile broadband, wifi hostposts, etc). We cannot assume that said devices will always have an open port accessible to the internet.

Solution

Implement NAT passthrough support.

Acceptance criteria

  • Support similar NAT passthrough techs than nim-waku: NAT-PMP, NAT-UPnp and manual ext mappings.
  • Demonstrate the support by being able to receive messages in the js-chat app from a nim-waku fleet instance.
@D4nte D4nte added this to the waku-relay (node) milestone Mar 28, 2021
@D4nte D4nte mentioned this issue Mar 28, 2021
4 tasks
@D4nte D4nte added the enhancement New feature or request label Apr 1, 2021
@D4nte D4nte changed the title NAT passthrough NAT traversal Apr 1, 2021
@D4nte
Copy link
Contributor Author

D4nte commented Apr 1, 2021

After further reading https://github.com/libp2p/js-libp2p/blob/master/doc/CONFIGURATION.md#configuring-the-nat-manager

NAT traversal only makes sense for node applications. However, the focus on this library in in the browser that does not need NAT traversal as it does not support TCP connections.

Instead, WebRTC should be considered for browser environment.

Closing this issue now. This could be re-open if there is demand for js-waku node.

Superseded by #20.

@D4nte D4nte closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant