From Newsgroup: comp.mobile.android
Maria Sophia wrote:
But, notice the IP address?
It's no longer on the 192.158.1.x subnet.
It's 10.1.10.1 instead.
This is all Andy Burns' fault since he turned me on to NetGuard long ago!
(jk)
This last problem was that Wireless Debugging seems to have advertised 10.1.10.1 as it's IP address when it should have been 192.168.1.4 instead.
NetGuard's VPN interfered with Wi-Fi ADB because Wireless Debugging was
using the VPN-side 10.1.10.1 address instead of the phone's LAN address.
What happened was I blocked an app from the Internet using NetGuard.
<
https://netguard.me/>
<
https://github.com/M66B/NetGuard/releases>
The app is Love's Connect, which is a 10-cent-per-gallon credit on gas.
<
https://play.google.com/store/apps/details?id=com.loves.finder>
But I only use the 10-cent/gallon barcode it generates when I'm traveling. Otherwise, I want that Love's Connect app to be dead as a doornail.
The problem is NetGuard changed the IP address from 192.168.1.x to
10.1.10.1 but that IP address made connecting to the Windows desktop adb
over Wi-Fi problematic since the desktop is on the 192.168.1.x subnet.
All my adbconnect scripts expect the phone to be on 192.168.1.x instead.
Q: Is there a solution to that problem?
A: Yes.
Toggle this setting from the default of:
Netguard:Settings > Network options > Subnet routing = off
To:
Netguard:Settings > Network options > Subnet routing = on
Voila!
This preserves routing to the local LAN, allowing Wireless ADB to use the phone's normal 192.168.1.x address. .
adb pair 192.168.1.4:12345 543210
adb connect 192.168.1.4:54321
So now I've overcome those problems which I wanted others to benefit from.
1. The warnings about ad blocking DNS is explained.
2. The warning about the VPN getting turned on after reboot is explained.
3. The solution to get the local IP address back is explained
Now, blocked traffic is routed into the local VPN service, which acts as a sinkhole & the private DNS is still working & the firewall survives reboot.
In summary, Mullvad handles DNS-level filtering, NetGuard kills Love's Connect's network access, and subnet routing keeps the LAN/ADB working.
Whew! This is all Andy's fault! :)
--- Synchronet 3.22a-Linux NewsLink 1.2