[GH-ISSUE #1806] macOS cannot connect to other peers in the local network after upgrade to 0.27 #3427

Open
opened 2026-08-05 00:52:21 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @y1xia0w on GitHub (Apr 5, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1806

Describe the problem

macOS CANNOT connect to other peers in the same local network after netbird up, but CAN connect to peers not in the same LAN.

I have machine A, B, and mac in the same LAN with the LAN IP as below, another machine C is in the office in another place, not in the same LAN.

A: 192.168.111.199
B: 192.168.111.190
mac: 192.168.111.10

Netbird 0.26.3 has been installed on A, B, and C (Machine A, B, and C are all running Ubuntu 22.04)
Netbird 0.27.1 installed on mac (Sonoma 14.4.1)

After running netbird up on mac, the mac cannot connect to A, B neither via LAN IP address nor netbird IP address, meanwhile it even cannot ping machine A, B. But, machine A and B could ping and connect to each other via both LAN IP and netbird IP properly as expected.

The behavior of the ping drop is as below. The left pane is the log on mac, the right pane is the log of mac pinging A. It seems only when mac runs the conn.go it can establish connection to peer A.

Screenshot 2024-04-05 at 10 38 12

However, after running netbird up on mac, the mac can connect to C which is not in the same LAN properly.

To Reproduce

Run command brew install netbird-ui on mac to install the netbird-ui.
Run command sudo apt install netbird on Ubuntu 22.04 to install netbird.
Run command netbird up on each machine and login via SSO.
Then, the connection between peers in the same LAN drops.

Expected behavior

Netbird on macOS can connect to peers in local network via both local IP address and netbird IP address.

Are you using NetBird Cloud?

Yes

NetBird version

macOS 0.27.1
others 0.26.3

NetBird status -d output:

Peers detail:
 A.netbird.cloud:
  NetBird IP: 100.99.*
  Public key: *
  Status: Connected
  -- detail --
  Connection type: P2P
  Direct: true
  ICE candidate (Local/Remote): srflx/host
  ICE candidate endpoints (Local/Remote): WAN IP:1871/192.168.111.199:1871
  Last connection update: 2024-04-05 11:19:40
  Last WireGuard handshake: -
  Transfer status (received/sent) 148 B/388 B
  Quantum resistance: false
  Routes: -
  Latency: 4.34775ms

C.netbird.cloud:
  NetBird IP: 100.99.*
  Public key: *
  Status: Connected
  -- detail --
  Connection type: Relayed
  Direct: true
  ICE candidate (Local/Remote): host/relay
  ICE candidate endpoints (Local/Remote): 192.168.111.10:51820/WAN IP:51820
  Last connection update: 2024-04-05 11:09:40
  Last WireGuard handshake: 2024-04-05 11:18:01
  Transfer status (received/sent) 492 B/1.6 KiB
  Quantum resistance: false
  Routes: -
  Latency: 162.714542ms

B.netbird.cloud:
  NetBird IP: 100.99.*
  Public key: *
  Status: Connected
  -- detail --
  Connection type: P2P
  Direct: true
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.111.10:51820/192.168.111.190:51820
  Last connection update: 2024-04-05 11:22:52
  Last WireGuard handshake: -
  Transfer status (received/sent) 148 B/388 B
  Quantum resistance: false
  Routes: -
  Latency: 6.517333ms

Daemon version: 0.27.1
CLI version: 0.27.1
Management: Connected to https://api.netbird.io:443
Signal: Connected to https://signal.netbird.io:443
Relays:
  [stun:stun.netbird.io:5555] is Available
  [turns:turn.netbird.io:443?transport=tcp] is Available
Nameservers:
FQDN: mac.netbird.cloud
NetBird IP: 100.99.*
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 4/7 Connected

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Originally created by @y1xia0w on GitHub (Apr 5, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1806 **Describe the problem** macOS CANNOT connect to other peers in the same local network after `netbird up`, but CAN connect to peers not in the same LAN. I have machine A, B, and mac in the same LAN with the LAN IP as below, another machine C is in the office in another place, not in the same LAN. ``` A: 192.168.111.199 B: 192.168.111.190 mac: 192.168.111.10 ``` Netbird 0.26.3 has been installed on A, B, and C (Machine A, B, and C are all running Ubuntu 22.04) Netbird 0.27.1 installed on mac (Sonoma 14.4.1) After running `netbird up` on mac, the mac cannot connect to A, B neither via LAN IP address nor netbird IP address, meanwhile it even cannot ping machine A, B. But, machine A and B could ping and connect to each other via both LAN IP and netbird IP properly as expected. The behavior of the ping drop is as below. The left pane is the log on mac, the right pane is the log of mac pinging A. It seems only when mac runs the `conn.go` it can establish connection to peer A. <img width="1484" alt="Screenshot 2024-04-05 at 10 38 12" src="https://github.com/netbirdio/netbird/assets/50680028/a05303ec-16db-4653-bbd6-16ef0611acb4"> However, after running `netbird up` on mac, the mac can connect to C which is not in the same LAN properly. **To Reproduce** Run command `brew install netbird-ui` on mac to install the netbird-ui. Run command `sudo apt install netbird` on Ubuntu 22.04 to install netbird. Run command `netbird up` on each machine and login via SSO. Then, the connection between peers in the same LAN drops. **Expected behavior** Netbird on macOS can connect to peers in local network via both local IP address and netbird IP address. **Are you using NetBird Cloud?** Yes **NetBird version** macOS `0.27.1` others `0.26.3` **NetBird status -d output:** ``` Peers detail: A.netbird.cloud: NetBird IP: 100.99.* Public key: * Status: Connected -- detail -- Connection type: P2P Direct: true ICE candidate (Local/Remote): srflx/host ICE candidate endpoints (Local/Remote): WAN IP:1871/192.168.111.199:1871 Last connection update: 2024-04-05 11:19:40 Last WireGuard handshake: - Transfer status (received/sent) 148 B/388 B Quantum resistance: false Routes: - Latency: 4.34775ms C.netbird.cloud: NetBird IP: 100.99.* Public key: * Status: Connected -- detail -- Connection type: Relayed Direct: true ICE candidate (Local/Remote): host/relay ICE candidate endpoints (Local/Remote): 192.168.111.10:51820/WAN IP:51820 Last connection update: 2024-04-05 11:09:40 Last WireGuard handshake: 2024-04-05 11:18:01 Transfer status (received/sent) 492 B/1.6 KiB Quantum resistance: false Routes: - Latency: 162.714542ms B.netbird.cloud: NetBird IP: 100.99.* Public key: * Status: Connected -- detail -- Connection type: P2P Direct: true ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.111.10:51820/192.168.111.190:51820 Last connection update: 2024-04-05 11:22:52 Last WireGuard handshake: - Transfer status (received/sent) 148 B/388 B Quantum resistance: false Routes: - Latency: 6.517333ms Daemon version: 0.27.1 CLI version: 0.27.1 Management: Connected to https://api.netbird.io:443 Signal: Connected to https://signal.netbird.io:443 Relays: [stun:stun.netbird.io:5555] is Available [turns:turn.netbird.io:443?transport=tcp] is Available Nameservers: FQDN: mac.netbird.cloud NetBird IP: 100.99.* Interface type: Userspace Quantum resistance: false Routes: - Peers count: 4/7 Connected ``` **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here.
saavagebueno added the agent label 2026-08-05 00:52:21 -04:00
Sign in to join this conversation.
No Label agent
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3427