[GH-ISSUE #3186] Changing Masquerade stops clients from getting networks #6775

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

Originally created by @LiquidLuncher on GitHub (Jan 15, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/3186

Describe the problem

W
I've created a Network with a Resource 192.168.1.0/24 and a routing peer which is a linux host running netbird in docker. When I turn off Masquerade for the routing peer the network 192.168.1.0 is no longer advertised to the connecting Windows Peer. Turning masquerade back on doesn't fix it either. I have to delete the routing peer and re-add it and the windows client will get the network again.

To Reproduce

Steps to reproduce the behavior:

  1. Setup Network and connect windows client
  2. On netbird management site Networks>Select Network> Edit Routing Peer > Advanced Settings Tab> Turn off Masquerade.
  3. Refresh Networks on Windows client and Advertised network disappears.

Are you using NetBird Cloud?

Using NetBird Cloud

NetBird version

35.2

NetBird status -dA output:

PS C:\Users\Administrator> netbird status -dA
Peers detail:
garfield.netbird.cloud:
NetBird IP: 100.126.150.131
Public key: QnK+9TiAhMQgeFoJEsg0ppjJoNieQUtsNiwkE1cKtAs=
Status: Connected
-- detail --
Connection type: P2P
ICE candidate (Local/Remote): host/srflx
ICE candidate endpoints (Local/Remote): 192.168.201.178:51820/198.51.100.0:51820
Relay server address: rels://streamline-ap-southeast-2b.relay.netbird.io:443
Last connection update: 43 minutes, 1 seconds ago
Last WireGuard handshake: 1 minute, 23 seconds ago
Transfer status (received/sent) 1.9 KiB/6.9 KiB
Quantum resistance: false
Routes: -
Networks: -
Latency: 21.8888ms

desktop-s572cai.netbird.cloud:
NetBird IP: 100.126.225.103
Public key: YUPt+2YEIOimUkjl4K6lBfr9gbvHiNyvOaTI8lTVGGo=
Status: Disconnected
-- detail --
Connection type:
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Relay server address:
Last connection update: -
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Routes: -
Networks: -
Latency: 0s

OS: windows/amd64
Daemon version: 0.35.2
CLI version: 0.35.2
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
[rels://streamline-ap-southeast-2a.relay.netbird.io:443] is Available
Nameservers:
[1.1.1.1:53, 1.0.0.1:53] for [.] is Available
FQDN: hh-sl2-spare2.netbird.cloud
NetBird IP: 100.126.107.78/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Networks: -
Peers count: 1/2 Connected
PS C:\Users\Administrator>

Screenshots

If applicable, add screenshots to help explain your problem.
Windows client before turning off ma
BeforeMasquerade
Windows client after turning off masquerade
AfterMasquerade

Add any other context about the problem here.

The Routing peer list masquerade status also doesn't match what is actaully enabled if you click edit on a routing peer.
image

Originally created by @LiquidLuncher on GitHub (Jan 15, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/3186 **Describe the problem** W I've created a Network with a Resource 192.168.1.0/24 and a routing peer which is a linux host running netbird in docker. When I turn off Masquerade for the routing peer the network 192.168.1.0 is no longer advertised to the connecting Windows Peer. Turning masquerade back on doesn't fix it either. I have to delete the routing peer and re-add it and the windows client will get the network again. **To Reproduce** Steps to reproduce the behavior: 1. Setup Network and connect windows client 2. On netbird management site Networks>Select Network> Edit Routing Peer > Advanced Settings Tab> Turn off Masquerade. 3. Refresh Networks on Windows client and Advertised network disappears. **Are you using NetBird Cloud?** Using NetBird Cloud **NetBird version** 35.2 **NetBird status -dA output:** PS C:\Users\Administrator> netbird status -dA Peers detail: garfield.netbird.cloud: NetBird IP: 100.126.150.131 Public key: QnK+9TiAhMQgeFoJEsg0ppjJoNieQUtsNiwkE1cKtAs= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.201.178:51820/198.51.100.0:51820 Relay server address: rels://streamline-ap-southeast-2b.relay.netbird.io:443 Last connection update: 43 minutes, 1 seconds ago Last WireGuard handshake: 1 minute, 23 seconds ago Transfer status (received/sent) 1.9 KiB/6.9 KiB Quantum resistance: false Routes: - Networks: - Latency: 21.8888ms desktop-s572cai.netbird.cloud: NetBird IP: 100.126.225.103 Public key: YUPt+2YEIOimUkjl4K6lBfr9gbvHiNyvOaTI8lTVGGo= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: - Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Routes: - Networks: - Latency: 0s OS: windows/amd64 Daemon version: 0.35.2 CLI version: 0.35.2 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 [rels://streamline-ap-southeast-2a.relay.netbird.io:443] is Available Nameservers: [1.1.1.1:53, 1.0.0.1:53] for [.] is Available FQDN: hh-sl2-spare2.netbird.cloud NetBird IP: 100.126.107.78/16 Interface type: Userspace Quantum resistance: false Routes: - Networks: - Peers count: 1/2 Connected PS C:\Users\Administrator> **Screenshots** If applicable, add screenshots to help explain your problem. Windows client before turning off ma <img width="533" alt="BeforeMasquerade" src="https://github.com/user-attachments/assets/c1d3eae7-cbdd-403c-b2c7-4b06a6244f1f" /> Windows client after turning off masquerade <img width="533" alt="AfterMasquerade" src="https://github.com/user-attachments/assets/527311d2-6377-4a4a-aabc-9bdda9d81831" /> Add any other context about the problem here. The Routing peer list masquerade status also doesn't match what is actaully enabled if you click edit on a routing peer. ![image](https://github.com/user-attachments/assets/c08e0e17-6557-4750-9f5f-0ea1b2f6e8e5)
saavagebueno added the triage-needed label 2026-08-05 01:10:04 -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#6775