Cisco AnyConnect for Linux - save profile


I couldn't find a simple guide to this - so these are notes to myself.

Create a file called myVPN.xml:

 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!


Share this post on…

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. 😀
    Reply

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <p> <pre> <br> <img src="" alt="" title="" srcset="">