My setup: Pi-Hole, PiVPN and Passepartout App [0] on iOS.
As soon as i connect to the mobile network or another untrusted Wifi, Passepartout automatically starts the VPN connection in the background and disables it once i either connect to a trusted network or trust the currently connected network.
Comments
There is also piVPN [0]. I have read that it integrates with piHole very well.
[0]- https://github.com/pivpn/pivpn
It does! :)
My setup: Pi-Hole, PiVPN and Passepartout App [0] on iOS.
As soon as i connect to the mobile network or another untrusted Wifi, Passepartout automatically starts the VPN connection in the background and disables it once i either connect to a trusted network or trust the currently connected network.
Works well for a few years already!
[0] https://apps.apple.com/us/app/passepartout-openvpn-client/id...