openconnect VPN config

These instructions are for a non-ECN, self-maintained linux host.

These were tested on a LinuxMint 19.3 host. It is Ubuntu derived so these should work on Debian and Ubuntu as well.

Other distributions should be similar if they use Network Manager.

  1. Check for openconnect packages
    1. Fedora/RHEL/CentOS derived:
      sudo yum search openconnect network-manager-openconnect
      sudo dnf search openconnect network-manager-openconnect
    2. Debian/Ubuntu derived:
      sudo apt search openconnect network-manager-openconnect
  2. Install opeconnect packages
    1. Fedora/RHEL/CentOS derived:
      sudo yum install openconnect network-manager-openconnect
      sudo dnf install openconnect network-manager-openconnect
    2. Debian/Ubuntu derived:
      sudo apt install openconnect network-manager-openconnect
    3. You might also need to install network-manager-openconnect-gnome depending upon your distro
    4. restart Network Manager to make sure the openconnect plugin is active
      systemctl restart network-manager.service
  3. Add/Configure VPN connection
    1. Click on Network Manager Icon

      task bar icons with a red arrow pointing at the Network Manager icon
       
    2. Select VPN Connections -> Add a VPN Connection


       
    3. Select "Cisco AnyConnect Compatible VPN (openconnect)

      VPN Connection Menu with Cisco AnyConnect Compatible VPN (openconnect) selected
       
    4. VPN Config
      1. Connection Name: whatever, but PurdueVPN is good
      2. Gateway: webvpn.purdue.edu, or webvpn2.purdue.edu

        VPN connection configuration menu with red arrow pointing to a red box around the gateway input field
         
    5. Click on Network Manager icon

      task bar icons with a red arrow pointing at the Network Manager icon
       
    6. Select VPN Connections ->PurdueVPN

      Network Manager menu with VPN Connections selected as well as PurdueVPN connection

       
    7. Enter Username and Password
      1. The password follows the BoilerKey 2 Factor Authentications protocol

        Connect to VPN menu with Username and Password fields
         
    8. The Network Manager icon can change to something like a lock

      Task bar with red arrow pointing to Network Manager icon which might resemble a lock now

       
    9. To close the VPN connection click on Network Manager Icon

      Task bar with red arrow pointing to Network Manager icon which might resemble a lock now
       
    10. VPN Connections->PurdueVPN

      Network Manager connections menu with VPN Connections and PurdueVPN connection selected

       
    11. Network Manager icon should go back to "normal"


      task bar icons with a red arrow pointing at the Network Manager icon

 

Last modified: 2020/08/18 09:22:24.146728 GMT-4 by joseph.r.kline.1
Created: 2020/03/16 10:59:50.949688 GMT-4 by joseph.r.kline.1.

Categories

Search the Knowledge Base

Include:

Quick search results

    Admin Options: Edit this Document