VPN: Linux VPN Instructions

Note: If you are using a University of Michigan MiWorkspace managed device, VPN software and profiles are configured for you. If you need help connecting to VPN on a managed device, please contact the ITS Service Center. These pages provide VPN configurations for unmanaged devices (e.g. research users, BYOD users).

Instructions below are for Ubuntu Linux distribution. Instructions should be similar for other distributions.

Additional information can be found in the Cisco Release Notes for VPN Client.

Download and Extract the Cisco VPN Client

  1. Navigate to the ITS Comm VPN page or these instructions on your device and select Linux VPN Client.
  2. When prompted, authenticate using your uniqname and UMICH password.
  3. Extract the VPN files.
    • In a terminal, enter $ cd~/Downloads.
    • Enter $ tar zxvf anyconnect-predeploy-linux-64-4.1.08005-k9.tar.gz to extract the files.
  4. Change into theAnyconnect VPN Directoryand run the installer.
    • Enter $ cd anyconnect-4.1.08005/vpn.
    • Enter $ sudo ./vpn_install.sh.
  5. The license agreement text appears with the following prompt: Do you accept the terms in the license agreement [y/n]?
  6. Enter y.
  7. You are notified that you have accepted the license agreement while the Cisco AnyConnect Secure Mobility Client is installed.

Troubleshooting

  1. If the following failure message appears: Failed to start vpnagentd.service: Unit vpnagentd.service failed to load: No such file or directory you may need to add a package:
    • $ sudo apt-get install lib32z1 lib32ncurses5 and
  2. If you are still having problems you may need an additional package:
    • $ sudo apt-get install network-manager-openconnect
  3. Finally, you may need to restart the machine before re-running the VPN installer.

Start the VPN Client

Navigate to Applications to locate the Cisco AnyConnect Client, or if you prefer to run from the command line.

  1. Enter the following commands:
    • $ /opt/cisco/anyconnect/bin/vpn
    • VPN> connect umvpn.umnet.umich.edu
    • connect umvpn.umnet.umich.edu
    • >> contacting host (umvpn.umnet.umich.edu) for login information...
    • >> notice: Contactingumvpn.umnet.umich.edu.
      • 0) Tunnel-Everything
      • 1) Tunnel-UM-Only
      • Group: [Tunnel-Everything]
  2. When prompted, authenticate using your uniqname and UMICH password.

Disconnect from the VPN

  1. Enter disconnect.
Tags: 
Last Updated: 
Friday, April 8, 2016