AnyConnect – F1-CONSULT https://www.f1-consult.com Our Network For Your Network Wed, 15 Nov 2023 08:54:05 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.3 https://www.f1-consult.com/wp-content/uploads/2018/01/cropped-F1-CONSULT-favicon-32x32.png AnyConnect – F1-CONSULT https://www.f1-consult.com 32 32 CISCO – AnyConnect – The VPN connection to the secure gateway was interrupted and could not be automatically re-established https://www.f1-consult.com/cisco/cisco-security/anyconnect/anyconnect/ Wed, 15 Nov 2023 08:54:05 +0000 https://www.f1-consult.com/?p=4906

The VPN connection to the secure gateway was interrupted and could not be automatically re-established. A new connection is necessary, which requires re-authentication.

Client Issue:

  • Flakey connections
  • nondeterministic reconnects

Trouble shooting:

  • Does the client have IPv4 or IPv6 or dual stack in local LAN?
  • Does the local provider provide IPv4 or IPv6 or dual stack in local LAN?
  • IPv4 and IPv6 Traceroute from the vpn client towards the VPN gateways
  • If there are multiple gateways, traceroute to all of them
  • Check MTU Size:

Analysis:

  • Is the client next hop on the provider side showing 192.0.0.1 in the traceroue?
  • If so, that’s an indication of them having deployed DS-LITE
  • DS-Lite is a IPv6 transition mechanism widely deployed in Europe by cable providers such as Liberty Global (like UPC, Unitymedia, …), like Vodafone, Versatel, Kabel Deutschland and others.
  • That goes together with AFTR (carrier grade NAT system) to transition users from their native IPv6 home connections to the IPv4 world.
  • Therefore multiple users share a single external IPv4 address using this system.
  • Please check rfc6333 for more information
  • That doesn’t go well with VPN Tunnel technologies like Cisco AnyConnect Secure Mobility Client

Solution:

  • Open a ticket with the DSL provider and ask them to change your connection from DS-LITE towards DS.
  • Most cases they need a valid reason to do so. Tell them that you need native dual stack for business so that your VPN client can work properly.
  • Good Luck!
]]>
CISCO – AnyConnect – Windows Autostart https://www.f1-consult.com/cisco/cisco-security/anyconnect/anyconnect-2/ Wed, 15 Nov 2023 08:43:41 +0000 https://www.f1-consult.com/?p=4910

CISCO Anyconnect Autostart

Windows:

\Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\Cisco AnyConnect Secure Mobility Agent for Windows"

Autostart enabled:

"C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe" -autolaunched

Autostart disabled:

"C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe"
]]>
CISCO – AnyConnect – AnyConnect Profiles location https://www.f1-consult.com/cisco/cisco-security/anyconnect/anyconnect-2-2/ Tue, 22 Mar 2022 21:42:12 +0000 https://www.f1-consult.com/?p=4836

Where are the AnyConnect Profiles located?

XML and profile files are stored locally to the users machine.The location varies based on OS.

Windows XP:

%ALLUSERSPROFILE%\Application Data\Cisco\Cisco AnyConnect Secure Mobility Client\Profile

Windows Vista:

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

Windows 7:

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

Windows 8:

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

Windows 10:

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

Mac OS X:

/opt/cisco/anyconnect/profile

Linux.:

/opt/cisco/anyconnect/profile
]]>