Skip to content

Instantly share code, notes, and snippets.

@furikake
Last active October 2, 2016 22:12
Show Gist options
  • Save furikake/397a08fb4eeb22a286626b59639b87ba to your computer and use it in GitHub Desktop.
Save furikake/397a08fb4eeb22a286626b59639b87ba to your computer and use it in GitHub Desktop.
Multiple VPN Servers and Profiles in Cisco AnyConnect VPN
<!-- /opt/cisco/anyconnect/.anyconnect_global -->
<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectPreferences>
<DefaultUser>user</DefaultUser>
<DefaultSecondUser>USERNAME</DefaultSecondUser>
<ClientCertificateThumbprint></ClientCertificateThumbprint>
<ServerCertificateThumbprint></ServerCertificateThumbprint>
<DefaultHostName>vpn.example.org</DefaultHostName>
<DefaultHostAddress>93.184.216.34:443</DefaultHostAddress>
<DefaultGroup></DefaultGroup>
<ProxyHost></ProxyHost>
<ProxyPort></ProxyPort>
<SDITokenType>none</SDITokenType>
<ControllablePreferences></ControllablePreferences>
</AnyConnectPreferences>
<!-- /opt/cisco/anyconnect/profile/Profile.xml -->
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/">
<ClientInitialization>
<WindowsLogonEnforcement>SingleLocalLogon</WindowsLogonEnforcement>
<WindowsVPNEstablishment>AllowRemoteUsers</WindowsVPNEstablishment>
</ClientInitialization>
<ServerList>
<HostEntry>
<HostName>vpn.example.com</HostName>
<HostAddress>vpn.example.com</HostAddress>
</HostEntry>
<HostEntry>
<HostName>vpn.example.org</HostName>
<HostAddress>vpn.example.org</HostAddress>
</HostEntry>
</ServerList>
</AnyConnectProfile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment