Cisco AnyConnect

Cisco AnyConnect client supports

  • Red Hat Enterprise Linux 6.x (32-bit)
  • Red Hat Enterprise Linux x 6.4 (64-bit)
  • Ubuntu 9.x, 10.x, and 11.x (32-bit)
  • Ubuntu 12.04 & 12.10 (64-bit)

It is a standalone tarball package for Linux platforms.

Installing CiscoAnyConnect VPN Client for Linux

  1. Create ciscovpn directory
    [root@linuxhost]# mkdir ciscovpn
  2. Download the tar file to ciscovpn directory
  3. Unpack the archive with a tar command
    [root@linuxhost:~ciscovpn]# tar xvzf
  4. As root user, run the script named
    [root@linuxhost:~ciscovpn]# ./
The client installs the directory /opt/cisco/vpn. This script also installs the daemon vpnagentd and sets it up as a service that is automatically started when the system boots.

Running CiscoAnyConnect Client for Linux

After installing the client, you can start the client manually from the user interface with the Linux command /opt/cisco/anyconnect/bin/vpnui (for webui interface) or with /opt/cisco/anyconnect/bin/vpn (for command line interface).

When you run /opt/cisco/vpn/bin/vpnui or /opt/cisco/vpn/bin/vpn frm the root:

  • [root@linuxhost]# /opt/cisco/vpn/bin/vpnui


  • [root@linuxhost]# /opt/cisco/vpn/bin/vpn

1. For webui, the anyconnect client web interface will come up and you can type in the connect to: box, ‘’ (‘’ is the alternative connection) and press connect.

For cli, it will bring this ‘VPN’ prompt. Type ‘connect’ and press enter.

Cisco AnyConnect Secure Mobility Client (version 3.1.06073) .
Copyright (c) 2004 - 2014 Cisco Systems, Inc. All Rights Reserved.

>> state: Disconnected

>> state: Disconnected

>> notice: Ready to connect.

>> registered with local VPN subsystem.

VPN> connect

2. For webui, in the :’Group’ menu that will appear, select the group you wish to use: ‘Staff’ (including PhD), ‘Student’ (including postgraduate students) or ‘Contractor’. Then enter your username and password in the appropriate boxes and click Connect.

For cli, you can select which group you want to connect and press enter. Then it will ask you to enter your username and password. 

>> Please enter your username and password.

0) contractor
1) staff
2) student

Group: [contractor]
Press Enter

>> notice: Contacting
>> Please enter your username and password.

Username: yourusername
Password: yourpassword

You are now connected and ready to use your VPN connection. 

Note: This instruction was tested and working with Ubuntu 14.04 LTS. Steps and commands might change depending on what type of linux platform you are running.