-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Unable to connect via P2P even both public IPv6 are available #2606
Comments
I'm running into the problem right now as well. I think (not absolutely certain), that it's related to client/internal/peer/worker_ice.go@153. If so, that means this issue and #2327 are related. |
Fixes netbirdio#2327 and netbirdio#2606 by formatting all addresses from ICE as IPv6 (since IPv4 addresses can be parsed and formatted the same way).
Should fix netbirdio#2327 and netbirdio#2606 by checking for IPv6 addresses from ICE
Describe the problem
I am pretty sure that both of my peers have public IPv6 address, however I fail to connect two peers via P2P.
Peer 1: ubunt Linux (with public IPv6)
Peer 2: Alpine linux (with public IPv6)
To Reproduce
Steps to reproduce the behavior:
Start Netbird service on two peers (both of them have public IPv6 address, their ping latency less than 40ms)
Run netbird status -d
Expected behavior
Status: Connected
-- detail --
Connection type: P2P
Direct: true
Are you using NetBird Cloud?
Yes
NetBird version
0.29.2
NetBird status -dA output:
netbird.cloud:
NetBird IP: 100.83.111.47
Status: Connected
-- detail --
Connection type: Relayed
ICE candidate (Local/Remote): relay/prflx
ICE candidate endpoints (Local/Remote): 198.51.100.0:46600/198.51.100.1:32751
The text was updated successfully, but these errors were encountered: