With the AutoVoice and AutoInput plugins, we can easily set up in Tasker to enable or disable a VPN connection on a mobile device.

  • Learn more about AutoVoice here
  • Learn more about AutoInput here