[GH-ISSUE #5462] Routing peer in macOS docker failed to forward connection #11251

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

Originally created by @4piu on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5462

Describe the problem

Clients are unable to establish TCP connections (e.g., SSH on port 22) to a remote network (192.168.123.0/24) via a routing peer running in a Docker container on macOS. While ICMP pings between the client and the office resources are successful, TCP handshakes fail. Traffic captures show the client receiving SYN, ACK retransmissions from the target resource, but the connection never establishes, suggesting the return path is either blocked or the packets are being dropped/mangled by the macOS peer.

macOS-en0.csv
Windows-wt0.csv

To Reproduce

Steps to reproduce the behavior:

  1. Set up a macOS netbird client container as a Routing Peer for a local subnet (e.g., 192.168.123.0/24).
  2. Connect a Windows client to the same NetBird network.
  3. From the client, run ping 192.168.123.163. Result: Success.
  4. From the client, attempt to connect via SSH: ssh user@192.168.123.163.
  5. Result: Connection Timeout.
  6. Observe Wireshark logs on Windows showing [TCP Retransmission] 22 > [Port] [SYN, ACK].

Expected behavior

TCP traffic should be routed successfully through the macOS peer, allowing for SSH, web, and other protocol access to the office network, consistent with the successful ICMP behavior.

Are you using NetBird Cloud?

NetBird Cloud

NetBird version

v0.66.0

Is any other VPN software installed?

No other VPN running on macOS and testing clients

Debug output

f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffa9c4481884941f726/aa0fdb84-0567-4f5b-9e4d-1005c51c83b0

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • 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
Originally created by @4piu on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5462 **Describe the problem** Clients are unable to establish TCP connections (e.g., SSH on port 22) to a remote network (`192.168.123.0/24`) via a routing peer running in a Docker container on macOS. While ICMP pings between the client and the office resources are successful, TCP handshakes fail. Traffic captures show the client receiving SYN, ACK retransmissions from the target resource, but the connection never establishes, suggesting the return path is either blocked or the packets are being dropped/mangled by the macOS peer. [macOS-en0.csv](https://github.com/user-attachments/files/25581497/macOS-en0.csv) [Windows-wt0.csv](https://github.com/user-attachments/files/25581498/Windows-wt0.csv) **To Reproduce** Steps to reproduce the behavior: 1. Set up a macOS netbird client container as a Routing Peer for a local subnet (e.g., `192.168.123.0/24`). 2. Connect a Windows client to the same NetBird network. 3. From the client, run ping `192.168.123.163`. Result: Success. 4. From the client, attempt to connect via SSH: `ssh user@192.168.123.163`. 5. Result: **Connection Timeout**. 6. Observe Wireshark logs on Windows showing `[TCP Retransmission] 22 > [Port] [SYN, ACK]`. **Expected behavior** TCP traffic should be routed successfully through the macOS peer, allowing for SSH, web, and other protocol access to the office network, consistent with the successful ICMP behavior. **Are you using NetBird Cloud?** NetBird Cloud **NetBird version** `v0.66.0` **Is any other VPN software installed?** No other VPN running on macOS and testing clients **Debug output** `f79e391890ab27fb37c88b3b4be7011e22aa2e5ca6f38ffa9c4481884941f726/aa0fdb84-0567-4f5b-9e4d-1005c51c83b0` **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:29:03 -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#11251