Los documentos oficiales ( https://docs.openvpn.net/connecting/connecting-to-access-server-with-Android/faq-regarding-openvpn-connect-Android/#How_do_I_use_tasker_with_OpenVPN_Connect_for_Android ):
CONECTAR
a) Módulo del servidor de acceso Action: net.openvpn.openvpn.CONNECT
O
Action: android.intent.action.VIEW
Cat: None
Mime Type: {blank}
Data: {blank}
Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:AS {your_profile_name}
Extra: net.openvpn.openvpn.AUTOCONNECT:true
Extra: net.openvpn.openvpn.APP_SECTION:AS
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity
b) Módulo de perfil OVPN Action: net.openvpn.openvpn.CONNECT
O
Action: android.intent.action.VIEW
Cat: None
Mime Type: {blank}
Data: {blank}
Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:PC {your_profile_name}
Extra: net.openvpn.openvpn.AUTOCONNECT:true
Extra: net.openvpn.openvpn.APP_SECTION:PC
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity
DESCONECTAR
Action: net.openvpn.openvpn.DISCONNECT
Cat: None
Mime Type: {blank}
Data: {blank}
Extra: net.openvpn.openvpn.STOP:true
Extra: {blank}
Extra: {blank}
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity
Ejemplo de código Java
String profile = "myvpn";
Intent openVPN = new Intent("android.intent.action.VIEW");
openVPN.setClassName("net.openvpn.openvpn", "net.openvpn.unified.MainActivity");
openVPN.putExtra("net.openvpn.openvpn.AUTOSTART_PROFILE_NAME", "PC "+profile);
openVPN.putExtra("net.openvpn.openvpn.AUTOCONNECT", true);
openVPN.putExtra("net.openvpn.openvpn.APP_SECTION", "PC");
activity.startActivity(openVPN);
El formato está mal pero espero que ayude a alguien