Hi all,
I’m using a Google Pixel 8a (128GB) running GrapheneOS, and I’d like to automate my VPN usage based on the Wi-Fi network I'm connected to. Specifically:
I want my VPN (Proton VPN, WireGuard-based) to automatically enable when I'm not connected to my home Wi-Fi, and
Automatically disable when I’m back on my home Wi-Fi.
I already have WireGuard installed and working, and I'm primarily looking for a free and open-source (FOSS) way to automate this. Ideally, I'd like to avoid proprietary apps, but I understand GrapheneOS has some limitations.
After doing some research, it seems that this kind of automation may not be fully possible using only FOSS tools on GrapheneOS (without root). So I’m now open to paid solutions, as long as they are privacy-respecting and preferably open-source, or at least trustworthy.
My key requirements:
GrapheneOS-compatible (no root)
Automatic VPN toggle based on Wi-Fi SSID
Works with WireGuard or Proton VPN
Privacy-respecting (ideally no telemetry or bloat)
Is there any tool—FOSS or not—that can reliably do this on GrapheneOS?
Thanks in advance for any suggestions or workflows you've found!