Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dr_white

macrumors newbie
Original poster
Nov 17, 2020
13
7
Sydney, Australia
Hi All,

Is this possible?

Shortcut to connect VPN when device connects to WiFi in a certain location?

I’d like the location to cover an entire country that I’m about to travel to.

Ideally it would then disconnect the VPN when WiFi disconnects.

If possible, some screenshots of how to do it would be greatly appreciated!
 
Why not just keep the VPN on the whole time you're in that country?
 
I agree with @kitKAC, no downside to simply leaving VPN on all the time.

However, it’s probably possible to simply set up a shortcut to connect VPN when WiFi is on, and disconnect when off. Then only enable the shortcut when you’re in that country.
 
Last edited:
I run a Pihole and PiVPN at home and use Wireshark to have a VPN connection to my home when I am not on my home Wifi. Either host your own Wireguard VPN or find a VPN provider that will support a bring-your-own VPN App (because on-demand works in Wireguard or in a managed device mode).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.