- Create a folder to hold your custom bash commands
$ mkdir ~/.bin
- Download the
vpn
file above to that directory
curl https://gist.githubusercontent.com/bhstahl/a90d747683ea0598c673e42d7f5a8900/raw/75cf1751c315795619399ef0e6b53a0297af3040/vpn --output ~/.bin/vpn
- Make it executable by adding this to your
.bash_profile
export PATH="$PATH:~/.bin"
- Run the setup command to make sure global protect doesnt launch each time you use your computer
$ vpn setup
- Then start/stop it on your own time
$ vpn start
# Launching global protect
$ vpn stop
# Quitting global protect