Connecting to the Cal Poly VPN from a Linux machine

vpn Linux blogumentation

Cal Poly’s VPN uses GlobalProtect, but IT doesn’t support Linux. That sucks, because I use Linux most of the time. Instead, OpenConnect seems to work, with the following command:

openconnect --protocol=gp cpvpn.calpoly.edu --user=<user>

This may need to be run as root. Additionally, it does not fork, so you may need to place it in a tmux session or something like that.

I personally have a shell script that runs this command for me placed at ~/bin/calpoly-vpn.sh so all I have to do is run

calpoly-vpn.sh