Cisco AnyConnect for Linux – save profile

by @edent | # # # | 1 comment

I couldn’t find a simple guide to this – so these are notes to myself.

Create a file called myVPN.xml:

<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/AnyConnectProfile.xsd">
   <ServerList>
      <HostEntry>
         <HostName>My Work VPN</HostName>    
         <HostAddress>vpn.example.com/connect</HostAddress>
      </HostEntry>
   </ServerList>
</AnyConnectProfile>

Place it in /opt/cisco/anyconnect/profile/

Now, when you launch your VPN client, it will show you your saved hosts.

Huge thanks to Alex Monk for showing me the way!

One thought on “Cisco AnyConnect for Linux – save profile

  1. Mike says:

    My experience of the Cisco AnyConnect client for Linux made me look in to whether there was a different way to use my employer’s VPN. I installed the NetworkManager OpenConnect plugin (In Fedora it’s the NetworkManager-openconnect package in the repos) and have been using that for the last N years without issue. Perhaps the Cisco AnyConnect client for Linux is great now. 😀

Leave a Reply

Your email address will not be published. Required fields are marked *