This article will describe installing the Cisco AnyConnect client and establishing a client-to-site VPN connection to an OOD environment.
The following commands use the sudo facility of Red Hat Linux to do administrative functions such as installing software or starting/stopping services. If you are logged in as root, then remove the 'sudo' command from the command line examples.
The AnyConnect client requires the libxml2 libraries. This can be installed with the following command:
Content / Solution:
Download the AnyConnect software. If you have a Cisco login, you may be able to download the AnyConnect client from Cisco's web site (you need at least version 2.4, prior versions had bugs that prevented connecting to OOD environments.)
Unpack the AnyConnect package into a temporary directory:
Install the AnyConnect agent:
The client software gets installed to the /opt/cisco/vpn directory and sets up the vpnagentd_init service. If the vpnagentd_init service is not running, you will not be able to establish vpn connections. You can verify the agent is running with the command:
If the agent is not started, start it with the command:
Establish a client-to-site vpn tunnel by connecting to the VPN service where your OOD environment is located. You must use your OOD VPN account username and password to connect. OOD and Cloud accounts are completely separate. You will get prompted to accept the VPN server certificate once:
The AnyConnect client is firewall-aware and will automatically inject firewall rules into the iptables rulesets.
You can verify the AnyConnect status with the 'stats' command:
To disconnect from the OOD environment, use the 'disconnect' command: