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

network-libp2p: improve reachability of nodes behind a NAT #276

Open
1 of 2 tasks
vlvrd opened this issue Aug 4, 2021 · 0 comments
Open
1 of 2 tasks

network-libp2p: improve reachability of nodes behind a NAT #276

vlvrd opened this issue Aug 4, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vlvrd
Copy link
Contributor

vlvrd commented Aug 4, 2021

Original issue description:
When a peer is behind a reverse proxy / load balancer, the server's loopback IF or private IP is reflected as the source IP address, which means that the Identify protocol isn't relaying the correct IP for NAT transversal. This is a documented libp2p issue and support for the Proxy protocol has been requested.

The goal of this issue is to improve the reachability of nodes that are behind a NAT (load balancer, reverse proxy, etc). Initially the idea to address this is by improving the reflected source IP of the node such that peers dial an address that is reachable from the public internet. The libp2p feature request to implement the Proxy Protocol that could improve the reachability was marked as not planned.

Now with the recent release of AutoNAT V2 (libp2p/rust-libp2p#5526) combined with the Circuit Relays protocol, is meant to be the next proposal to improve this reachability.

Tasks:

@vlvrd vlvrd self-assigned this Aug 4, 2021
@viquezclaudio viquezclaudio assigned jsdanielh and unassigned vlvrd Mar 10, 2022
@viquezclaudio viquezclaudio added this to the Nimiq 2.0 Testnet milestone Mar 11, 2022
@styppo styppo removed this from the Nimiq PoS Mainnet milestone May 20, 2024
@styppo styppo added the enhancement New feature or request label Jun 18, 2024
@styppo styppo added this to the Nimiq PoS Mainnet milestone Jun 18, 2024
@Eligioo Eligioo changed the title Reflect the correct source IP for peers behind load balancers/reverse proxies network-libp2p: improve reachability of nodes behind a firewall or NAT Sep 27, 2024
@Eligioo Eligioo changed the title network-libp2p: improve reachability of nodes behind a firewall or NAT network-libp2p: improve reachability of nodes behind a NAT Sep 27, 2024
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

5 participants