An NPM module for launching/quitting GlobalProtect since they make it such a pain to do so. (uses shell) (macos only)
Install this module from github:
npm install -g git+https://github.com/arthvadrr/load-unload-global-protect.git
Be sure to give permissions to the shell scripts (only if needed, try running the script first)
chmod +x start.sh stop.sh
To start:
gprotect
To stop:
gprotectstop
Note that you do not need to prefix with npm. In the terminal you should see something similar:
[~]$ gprotect
[~]$ gprotectstop