It appears that this old issue has resurfaced (or hasn’t been resolved) where the installation adds a very odd default gateway on Windows, as shown below. According to
whatismyipaddress.com, the IP address 188.8.131.52 belongs to the ISP 'UK Ministry of Defence (!).
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 184.108.40.206 10.147.10.173 10034
I have recently performed 3 new installations with ZT version 1.10.5 on Windows 10, all experiencing the same problem. Linux works fine, meaning it doesn’t add this IP address.
Question: Is there a way to get rid of this, or do I have to add a blackhole route to avoid routing to 220.127.116.11?
04:36AM - 27 Feb 15 UTC
03:49PM - 03 Aug 15 UTC
Hi there, I keep having weird connectivity issues while running zerotier on Wind
Same problem goes with v1.12.0. A temporary workaround is simply to delete the erroneous route manually:
route delete 0.0.0.0 mask 0.0.0.0 18.104.22.168
This is by design and not a bug. It’s a workaround that allows windows firewall to detect the interface. Without it, the interface is ignored by Windows Firewall.
You don’t have to do anything. Traffic won’t actually route there.
See the code & comments here:
uint32_t tmpi = 1;
DWORD bytesReturned = 0;
/* This inserts a fake default route and a fake ARP entry, forcing
* Windows to detect this as a "real" network and apply proper
* firewall rules.
* This hack is completely stupid, but Windows made me do it
* by being broken and insane.
* Background: Windows tries to detect its network location by
* matching it to the ARP address of the default route. Networks
* without default routes are "unidentified networks" and cannot
* have their firewall classification changed by the user (easily).
Okay, I see. Have you tried binding the interface to a network profile using the
Network List Manager API and pals) and initially setting it to public?
Normally there is a class called “unidentified networks” that defaults to “public”.
Computer Policy → Windows Settings → Security Settings → Network List Manager Policies
Can’t say we have. We’re open to pull requests though.
I’ll look into it (no promises though).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.