Are there any good VPN's that have Tasker functionality (besides using AutoInput)?

Due of the recent news, I’m getting a VPN. I’m hoping to set some app-based contexts for tasks that toggle the VPN. I’ll use AutoInput if I need to, but I’m looking for plugins first. Specifically, I’m looking at using NordVPN and Private Internet Access. Do you know of any VPN’s that have a Tasker plugin?

You can use OpenVPN for Android and the OpenVpn Tasker Plugin apps to achieve this.

You can use OpenVPN and automate any VPN.

Just import the ovpn files into the app and use intents.

VPN connect

Action:
android.intent.action.VIEW

Extra:
net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:Romania

Package:
net.openvpn.openvpn

Class:
net.openvpn.openvpn.OpenVPNClient

Target:
Activity


VPN Disconnect

Action:
android.intent.action.VIEW

Package:
net.openvpn.openvpn

Class:
net.openvpn.openvpn.OpenVPNDisconnect

Target:
Activity

Good luck

Instead of Romania, just use the profile name from the app.

Or, you could use this app. Same thing. Import the ovpn files, but it manages the connect and disconnect depending on mobile data, selected wifi networks etc.

It’s a solid app.
https://play.google.com/store/apps/details?id=it.colucciweb.openvpn

Using a 3rd party VPN means that you are trusting someone else with your traffic, which isn’t much better than trusting your ISP with your traffic. You’d be better off spinning up a VPS on AWS/DO and installing OpenVPN on it, and use the OpenVPN app from the play store (which can be used with Tasker)

You don’t even need a plugin for openvpn. You can connect/disconnect using intents.

This is doable. Importing a NordVPN custom config into OpenVPN is simple as well. I’ve only done this in Arne Schwabe’s app though, not OpenVPN Connect.

Just for clarity for others reading, that’s for OpenVPN Connect, not OpenVPN for Android.

But then, wouldn’t the server be subject to Amazon’s or DigitalOcean’s privacy policies and the laws of the server’s physical location?

The 2 VPN’s I listed have their services strictly centered on their VPN. All their resources are dedicated to the security and quality of their respective VPN software. As long as the companies stay in good standing in the market, I would prefer to use them instead of a service (AWS/DO) that doesn’t have their business model built around my personal data security.

And now you’re just trusting Amazon with your traffic. How is that any better than a VPN? Frankly, it doesn’t matter who you choose, you eventually need to trust some company with your data. Acting like VPN is objectively worse than Amazon is silly.

Downvotes without an explanation for an alternative? I use Nord with input tap to switch it on. It works well, but obviously would be great to find one that does it behind the scenes with Tasker. Waiting for someone to reply to OP.

You are correct. If you are doing anything illegal, then a VPN won’t help you much either. Here are 2 articles I suggest you take a look at before you decide on a VPN or decide if you even want a VPN:

https://krebsonsecurity.com/2017/03/post-fcc-privacy-rules-should-you-vpn/

I’m not sure what sketchy stuff you’re referring to in that thread…