@gcupc I have been told wonderful things about tasker https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm but never installed it because $$. Automate looks like it can do similar things. https://play.google.com/store/apps/details?id=com.llamalab.automate
In about 5 mins I figured out how to get it to open my OpenVPN app when I connect to WiFi. There must be a way to 1 have it actually turn on VPN and 2 only do it if WiFi name isn't <homenetwork>
@gcupc this is the automate flow I mentioned. Forgot to attach it. I don't have hardly any experience with it, but it appears to be able to do what you want. Tasker may be easier
@gecko
That should do it... Thanks.
@gecko
As it turns out, I spent a few minutes fiddling with this, and it's pretty easy to get it to start the VPN on Wi-Fi, but not possible to stop it without root permissions.
@gcupc aw man :( hopefully you find something.
@gcupc try this: [list of 200 overcomplicated and conflicting steps that include some goat sacifices and blood magics]