Advanced IP Scanner kills connection for a while, when scanning remote LAN #1747

Open
opened 2025-11-20 06:05:56 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @coccmo on GitHub (Mar 23, 2025).

peer connection drops when scanning with advanced ip scanner

To Reproduce

scan with advanced ip scanner for the remote LAN scope. Connection drops for 2-3 min and then comes up again

Expected behavior

scan all devices and active ip adresses

Are you using NetBird Cloud?

self hosted

NetBird version

38.2

Originally created by @coccmo on GitHub (Mar 23, 2025). peer connection drops when scanning with advanced ip scanner **To Reproduce** scan with advanced ip scanner for the remote LAN scope. Connection drops for 2-3 min and then comes up again **Expected behavior** scan all devices and active ip adresses **Are you using NetBird Cloud?** self hosted **NetBird version** 38.2
saavagebueno added the triage-needed label 2025-11-20 06:05:56 -05:00
Author
Owner

@cio05 commented on GitHub (Sep 18, 2025):

Im having the same issue with Netbird Cloud. All peers at version 0.57.1 on windows os.
Toggeling the policy gets things started again.

chatgpt tells me to:

  1. avoid NAT on the routing peer, turn off Masquerade and add a static route. But masquerade can only be disabled for linux peers.
    or
  2. you’re stuck with WinNAT’s limits. Throttle scans hard

Every ping probe through masquerade creates a new NAT mapping in WinNAT. Scanning 254 IPs in parallel = hundreds of mappings at once. WinNAT quickly stalls, causing existing sessions (your steady pings) to hang until some NAT state frees up.

@cio05 commented on GitHub (Sep 18, 2025): Im having the same issue with Netbird Cloud. All peers at version 0.57.1 on windows os. Toggeling the policy gets things started again. chatgpt tells me to: 1. avoid NAT on the routing peer, turn off Masquerade and add a static route. But masquerade can only be disabled for linux peers. or 2. you’re stuck with WinNAT’s limits. Throttle scans hard Every ping probe through masquerade creates a new NAT mapping in WinNAT. Scanning 254 IPs in parallel = hundreds of mappings at once. WinNAT quickly stalls, causing existing sessions (your steady pings) to hang until some NAT state frees up.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1747