Print this article Edit this article

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. Click on text based on your network icon

    1. 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

        02-openconnect.png
         
      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 Purdue Login 2FA pattern which is your regular Purdue Account password followed by comma-'pin', (e.g. password,pin)

          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
    2. Click on Network Manager Icon
      screencapure of read arrow pointing to the network icon on the task bar

    3. Click on Settings item

      screenshot of the network icon menu with a read arrow pointing to the settings option

    4. Click on "+" symbol across from the VPN

      screen shot of the network settings page Next to the VPN entry is a red arrow pointing to a red circle. The red circle is around a "plus" icon.

    5. Select Multi-protocol CPN client (openconnect)

      screenshot of VPN choices A red rectangle is around Multi-protocol VPN client (openconnect)

    6. VPN Connection config
      1. Give the connection a name, for example "Purdue WebVPN"
      2. Make sure that "Cisco AnyConnect or openconnect" is selected for the VPN Protocol
      3. For the Gateway enter : webvpn.purdue.edu
      4. Then click on Add
        screen shot of the Add VPN menu Red arrows are pointing to the Name, VPN Protocol, and Gateway text fields
    7. To create a VPN connection click on network manager icon
      screencapure of read arrow pointing to the network icon on the task bar
    8. Select "VPN Off"
      screenshot of the network menu with a red box around the VPN Off entry. There is a red arrow pointing to the entry/box
    9. Click on "Connect"
      screenshot of the network menu with the Connect option surrounded by a red rectangle and a red arrow pointing towards the entry/rectangle
    10. Enter Username and Password
      1. The password follows the Purdue Login 2FA pattern which is your regular Purdue Account password followed by comma-'pin', (e.g. password,pin)
        screenshot of the menu to enter username and password
    11. The task bar will add an icon that says VPN
      a screenshot of the taskbar. The VPN icon has been surrounded by a rectangle and a red icon is pointing to the icon/rectangle
    12. To disconnect the VPN, Click on the VPN icon on the task bar
      a screenshot of the taskbar. The VPN icon has been surrounded by a rectangle and a red icon is pointing to the icon/rectangle
    13. Click on the name you gave the VPN connection, for instance Purdue WebVPN
      screenshot of the network menu. A red rectangle is around the VPN entry named Purdue WebVPN. A red arrow is pointing to the entry/rectangle
    14.  Click on "Turn Off"
      a screenshot of the network menu. The Turn Off entry is surrounded by a red rectangle and a red arrow is pointing to the entry/rectangle
    15. Network Manager icon should go back to "normal"
      screencapure of read arrow pointing to the network icon on the task bar

 

Last Modified: Feb 28, 2024 3:19 pm US/Eastern
Created: Mar 16, 2020 10:59 am GMT-4 by admin
JumpURL: https://eng.purdue.edu/jump/2e83f4b