I have smart light bulbs that connect via WiFi (not Bluetooth). I have to use this app called "Wiz Connected" to control them. It needs local network access.
However, I don't see any reason why this app should need to connect to the Cloud (public Internet). As I understand, GrapheneOS does not allow me to allow local network access (local IP addresses) but block public Internet access.
But I think that Netguard has this functionality (it has the options for it), so I installed it via F-Droid. It sets up a VPN.
The problem that I have is that when I have Netguard installed and set as VPN, I cannot access any Internet whatsoever, regardless of how I configure Netguard (the first thing I tried was to whitelist everything but explicitly deny the light bulb app; then later I tried to allow everything through, to no avail). For example, when I navigate to google.com in the browser, I get an error about being unable to find the IP address for google.com. But I never blocked anything besides the light bulb app. Everything goes back to normal when I "forget" the VPN in the system settings and disable the Netguard app.
I first tried it with the network permission for Netguard denied. I wasn't sure if VPN-type firewall requires network permission since the filtering works locally on the phone. Then I also tried it with the permission allowed. So I tried it both ways. (I also gave Netguard unrestricted battery usage, as advised by the app.)
I don't understand why it doesn't work. If GrapheneOS supports VPN, then it should work in theory? It is baffling.
Has anyone else been able to get NetGuard working? Or another VPN-type firewall app? Or is there another solution for "allow local network access but block public Internet access" for an app?