Norton 360 VPN any member familiar to use intent turn on/off?

I have seen from XDA the below. How I can alter to use with Norton 360 VPN ?

I’m root and would like to create a profile turn OFF Norton VPN when home, turn ON Norton VPN when home not.

Thank you very much.
edmond

Here is the XDA’s

Connect

Action: net.openvpn.openvpn.CONNECT
Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_NAME: PC {Your profile name}
Extra: net.openvpn.openvpn.AUTOCONNECT: true
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity

Disconnect

Action: net.openvpn.openvpn.DISCONNECT
Extra: net.openvpn.openvpn.STOP: true
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity

Edit: As of the current version (3.0.4), OpenVPN no longer remains in the foreground on disconnect.

Don’t. Using Tasker to intent the OpenVPN app is dangerous, as it doesn’t do a startActivityForResult and once you accept allow in VPN app, any and all apps can control your VPN (start/stop it).

Use this client instead; https://play.google.com/store/apps/details?id=de.blinkt.openvpn

with this plugin; https://play.google.com/store/apps/details?id=com.ffrog8.openVpnTaskerPlugin.

That way, only this plugin can start/stop it as it’ll use the AIDL service with the above needed intent.

Thousand thanks ( and impressed !! )