Connecting to Global Protect VPN from a Linux client
Connecting to the Marquette VPN is necessary for accessing certain on-campus resources.
To connect from Windows, macOS, Android, or iOS, see this article from ITS about it: (https://techsquad.mu.edu/support/solutions/articles/21001129222)
Due to the variety of desktops and graphical interfaces on Linux, this guide will be written with terminal commands.
Prerequisites
To connect to the VPN from Linux, you need a Linux machine with openconnect version 8.0 or greater installed (this is the version that added Global Protect support).
You can check your openconnect version with this command:
openconnect --version
If it is not installed, install it with your distributions password manager. If your distribution does not provide a new enough openconnect version, then you must install it from source or migrate to a distribution with newer packages.
This guide assumes you have sudo rights on the machine.
Starting the VPN
To start the VPN, run this command:
sudo openconnect --protocol=gp vpn.marquette.edu -u MARQUETTE_USERNAME
You will be prompted for your sudo credentials and your Marquette credentials in that order.
Once you enter your Marquette password, you will get a multi-factor authentication prompt in Duo. Refer to ITS' article about the VPN for Duo setup.
Do not close the terminal window.
Please note that this is not a split tunnel VPN - meaning that all your network traffic will be routed through Marquette when you connect with this method.
You may want to save this command as an alias or script if you are frequently connecting to the VPN from a Linux client.
Stopping the VPN
To stop the VPN, open the terminal window that you started the VPN in and hit Control+C to interrupt the process and disconnect.