Never type Cisco AnyConnect® VPN addresses again

Never type Cisco AnyConnect® VPN addresses again

Cisco has a great VPN product: AnyConnect®. It allows to connect remotely to your company servers on a secure basis with a token generator. Sometimes, you need to provide the address where to connect to manually. Version 3 of the AnyConnect® VPN client allows you to type directly in the interface, but never remembers the previously entered addresses.

The Problem

The profile does not store manual entries in the Cisco AnyConnect® software (for security reasons I presume). This requires the user to type in the address every time a connection is desired, without a stored profile.

Example of the client software - Courtesy of Cisco Systems, Inc. Unauthorized use not permitted

Example of the client software – Courtesy of Cisco Systems, Inc. Unauthorized use not permitted

The Solution

By editing the profile file and adding new host addresses, you are able to save time and frustration of typing the addresses manually. Have the entries in a drop-down list available to you!

Edit the profile file located in your Cisco AnyConnect software location. The information is retrieved from the Cisco Administration Manual

For Windows 7, you can find the .xml file in the following directory:

%ProgramData%\Cisco\Cisco AnyConnect Secure Mobility Client\Profile

Open the .xml file with an editor. Notepad++ is my preferred tool for this type of job.

Look for the entry:

<ServerList>

Add your own entry using the following format:

<HostEntry>
<HostName>HOSTNAME</HostName>
<HostAddress>https://your.primary.address</HostAddress>
<BackupServerList>
<HostAddress>https://your.backup.address</HostAddress>
</BackupServerList>
</HostEntry>

Please make sure that your content is placed within the appropriate tagss, i.e. before the end of the tag:

<ServerList>
... Your new host entry
</ServerList>

When done, restart your VPN client software and take it for a testdrive!

The Result

 

Example of the client software - Courtesy of The result after applying the xml profile - Cisco Systems, Inc. Unauthorized use not permitted

Example of the client software – Courtesy of The result after applying the xml profile – Cisco Systems, Inc. Unauthorized use not permitted

Now you can select the appropriate server(s) and save time!

–Note
Please know that I’m in not in any way connected to Cisco Systems and have tried to use the product and company name and logos with the appropriate care. The purpose is to show everyday users how to improve their experience with this product to increase their productivity. If you would like to know more about Cisco and their products, please go to their website: http://www.cisco.com/

Posted by artens

Categorised under Hack, Software
Bookmark the permalink or leave a trackback.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

or