Skip to content

Peer relay connection fails #3744

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

Open
5 tasks done
qskousen opened this issue Apr 25, 2025 · 0 comments
Open
5 tasks done

Peer relay connection fails #3744

qskousen opened this issue Apr 25, 2025 · 0 comments

Comments

@qskousen
Copy link

Describe the problem

Two of the clients in a network are unable to access each other, while being able to access all other peers, including ones in the same LAN as one of the problem clients.

To Reproduce

Steps to reproduce the behavior:

  1. Turn on clients
  2. Observe ability to correctly resolve the peer's name
  3. Attempt ping or ssh or telnet
  4. All connection attempts fail

Expected behavior

The clients should be able to contact each other, at least through the relay.

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.42.0 on both affected clients

Is any other VPN software installed?

No

Debug output

netbird status -dA

Output:
Peers detail:
 calebdesktop.anon-L4bT7.domain:
  NetBird IP: 100.83.169.84/32
  Public key: cnzhDHFfHjA/HkZjVc8+DtZCu41C28nb5I3iftukeBg=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 1 minute, 45 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 cbase.anon-L4bT7.domain:
  NetBird IP: 100.83.9.127
  Public key: x47RwlrZDO+4NoFdHivtUOSBZbuRUTOfSFLC3jP2wwE=
  Status: Connected
  -- detail --
  Connection type: Relayed
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: rel://net.anon-HaQrr.domain:33080
  Last connection update: 14 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 444 B/572 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 qt-mint.anon-L4bT7.domain:
  NetBird IP: 100.83.15.13
  Public key: Tzhq8Bz1PAmk8XTEZaTyKAY0nwWfeBdxb4LiUbH3tUA=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 172.26.64.1:51820/10.0.0.11:51820
  Relay server address: rel://net.anon-HaQrr.domain:33080
  Last connection update: 1 minute, 43 seconds ago
  Last WireGuard handshake: 1 minute, 39 seconds ago
  Transfer status (received/sent) 49.7 KiB/55.8 KiB
  Quantum resistance: false
  Networks: -
  Latency: 401.054µs

 qtdedi.anon-L4bT7.domain:
  NetBird IP: 100.83.73.253
  Public key: 4L2SvsWQltzMNcF13/+pFypi6kr17SxcPFAA2pINDmo=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): srflx/srflx
  ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:51820
  Relay server address: rel://net.anon-HaQrr.domain:33080
  Last connection update: 1 minute, 41 seconds ago
  Last WireGuard handshake: 1 minute, 39 seconds ago
  Transfer status (received/sent) 4.2 MiB/4.9 MiB
  Quantum resistance: false
  Networks: -
  Latency: 51.367147ms

Events:
  [INFO] SYSTEM (632cfd48-adda-4bf9-8c9b-d8cb2dda3a13)
    Message: Network map updated
    Time: 4 minutes, 21 seconds ago
  [INFO] SYSTEM (7aed5cec-dc96-4516-8f58-862ffc5cd3bf)
    Message: Network map updated
    Time: 1 minute, 45 seconds ago
OS: linux/amd64
Daemon version: 0.42.0
CLI version: 0.42.0
Management: Connected to https://net.anon-HaQrr.domain:33073
Signal: Connected to http://net.anon-HaQrr.domain:10000
Relays: 
  [stun:net.anon-HaQrr.domain:3478] is Available
  [turn:net.anon-HaQrr.domain:3478?transport=udp] is Available
  [rel://net.anon-HaQrr.domain:33080] is Available
Nameservers: 
FQDN: lydia.anon-L4bT7.domain
NetBird IP: 100.83.83.31/16
Interface type: Kernel
Quantum resistance: false
Networks: 0.0.0.0/0
Forwarding rules: 0
Peers count: 3/4 Connected

Debug file attached as well:

netbird.debug.1136344926.zip

Additional context

These two clients (cbase, lydia in the logs) were formerly able to connect, then stopped working. cbase is still able to connect to qt-mint and vice versa, despite qt-mint being in the same LAN as lydia and having to also use the relay server. I've tried updating, restarting, tailing logs, checking relay config, turning NetBird on and off, checking firewalls, everything I can think of. Thank you for any help.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant