[GH-ISSUE #5518] Peer connection does not seem to try direct P2P #11340

Closed
opened 2026-08-05 01:29:22 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @sbuchweitz on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5518

Hi, Im new to NB, so forgive me if I overlooked something.

My Setup:

  • Online VM with all self-hosted netbird containers running as per installation instructions
  • Local Windows machine with NB client (windows.netbird.domain.net)
  • Local Linux machine running NB client in docker (with HOST networking) (linux.netbird.domain.net)

Local Windows and Linux machines are the on the same subnet.
Peer connection from Windows to Linux machine works but is always relayed via the Online VM and I dont understand why.

Output of netbird on Windows:

netbird status -d

Peers detail:
linux.netbird.domain.net:
  NetBird IP: 100.69.59.135
  Public key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
  Status: Connected
  -- detail --
  Connection type: Relayed
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: rels://netbird.domain.net:443
  Last connection update: 4 seconds ago
  Last WireGuard handshake: 4 seconds ago
  Transfer status (received/sent) 180 B/124 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

Events:
  [INFO] SYSTEM (257f13fd-b44a-4e08-a2be-7061572cd3ca)
    Message: Network map updated
    Time: 19 seconds ago
  [INFO] SYSTEM (507c6404-0587-4026-aa0a-3b663177fd09)
    Message: Network map updated
    Time: 4 seconds ago
OS: windows/amd64
Daemon version: 0.66.2
CLI version: 0.66.2
Profile: default
Management: Connected to https://netbird.domain.net:443
Signal: Connected to https://netbird.domain.net:443
Relays:
  [stun:netbird.domain.net:3478] is Available
  [rels://netbird.domain.net:443] is Available
Nameservers:
  [10.0.0.10:53] for [.] is Available
FQDN: windows.netbird.domain.net
NetBird IP: 100.69.78.182/16
Interface type: Userspace
Quantum resistance: false
Lazy connection: false
SSH Server: Disabled
Networks: -
Peers count: 1/1 Connected

What am I doing wrong?

Originally created by @sbuchweitz on GitHub (Mar 5, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5518 Hi, Im new to NB, so forgive me if I overlooked something. My Setup: - Online VM with all self-hosted netbird containers running as per installation instructions - Local Windows machine with NB client (windows.netbird.domain.net) - Local Linux machine running NB client in docker (with HOST networking) (linux.netbird.domain.net) Local Windows and Linux machines are the on the same subnet. Peer connection from Windows to Linux machine works but is always relayed via the Online VM and I dont understand why. Output of netbird on Windows: ``` netbird status -d Peers detail: linux.netbird.domain.net: NetBird IP: 100.69.59.135 Public key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX= Status: Connected -- detail -- Connection type: Relayed ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: rels://netbird.domain.net:443 Last connection update: 4 seconds ago Last WireGuard handshake: 4 seconds ago Transfer status (received/sent) 180 B/124 B Quantum resistance: false Networks: - Latency: 0s Events: [INFO] SYSTEM (257f13fd-b44a-4e08-a2be-7061572cd3ca) Message: Network map updated Time: 19 seconds ago [INFO] SYSTEM (507c6404-0587-4026-aa0a-3b663177fd09) Message: Network map updated Time: 4 seconds ago OS: windows/amd64 Daemon version: 0.66.2 CLI version: 0.66.2 Profile: default Management: Connected to https://netbird.domain.net:443 Signal: Connected to https://netbird.domain.net:443 Relays: [stun:netbird.domain.net:3478] is Available [rels://netbird.domain.net:443] is Available Nameservers: [10.0.0.10:53] for [.] is Available FQDN: windows.netbird.domain.net NetBird IP: 100.69.78.182/16 Interface type: Userspace Quantum resistance: false Lazy connection: false SSH Server: Disabled Networks: - Peers count: 1/1 Connected ``` What am I doing wrong?
saavagebueno added the triage-needed label 2026-08-05 01:29:22 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11340