Anyconnect Not Able To Establish Connection Secure Gateway

  • Jul 22, 2020 Of course choosing Internal network or choosing Bridged, Host-only riding on the default Ethernet gateway may not help establish a VPN on your VM. Some VPN connections may force all traffic on all networks now be re-routed via it’s virtual adapter. In that case not everything I said above will be true.
  • HiUnable to connect to VPN using Ubuntu 12.4 using Cisco AnyConnect VPN Client (version 2.5.6005).Getting Error as Below- accept? y/n: y state: Connecting notice: Establishing.
  • If you are running Cisco AnyConnect and you keep getting this message. Reconnect is just useless. One of the possibilities is you have shared your network adapter. You need to disable the share.

Cisco的VPN客户端最近报“AnyConnect was not able to establish connection to the specified secure gateway.“ 导致. AnyConnect fails with the message 'AnyConnect was not able to establish a connection to the specified secure gateway. Please try connection again '. If you are using the Kaspersky AV firewall you need to add AnyConnect as a firewall exception. It might be more useful to use the free anti-virus software provided by the HRZ.


Date: Oct 10, 2013
By: Mike Khzouz ([email protected])
Scenario:
When using the Linux Cisco AnyConnect client x64 (like MAC, Ubuntu, Redhat RHEL and Debian) you might get the error above or if you connect through command like you might get the following errors:
Resolution:
1- Before you start troubleshooting the issue on the client side, make sure SSL certificates are installed and configured properly on the ASA. Go to http://www.digicert.com/help/ and test your server SSL certificate, if you see any issues, talk to your system admin to fix. In addition to your company SSL certificate, intermediate certificate from the ssl provider needs to be installed on the asa too, and that web tool can show you any issues in that regard (this is a common issue - missing intermediate cert) .
2- Important: Upgrade to the latest Cisco AnyConnect client. You can download that from the cisco TAC site but you need a username and a password. The latest version of Anyconnect as of this article is 3.1.04066.
3- In one of the cases the Cisco ASA had a Go Daddy SSL Certificate. Copying Go Daddy certificate from that Linux SSL Certificate folder to Cisco SSL certificate folder on the linux machine forced Anyconnect to trust that certificate.
sudo cp /etc/ssl/certs/Go* /opt/.cisco/certificates/ca/
If you are using a different 3rd party SSL certificate on the ASA, then you need to copy that certificate the same way
You can also copy all the certificates from /etc/ssl/certs/ to /opt/.cisco/certificates/ca/ if you are not sure what certificate you are using.
If you get this error in Windows make sure you stop Internet Sharing service in Windows services
If you find this article helpful, please click to like our facebook page below so we can keep on adding quality hands-on articles.


NotGateway

This post describes how to fix the following error messages when using Windows 8 Pro:

  • AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.
  • The VPN client driver encountered an error. Please restart your computer or device, then try again.
Connection

The steps to fix this problem are as follows:

1. Edit a registry entry by running a program called regedit. Right-click on it and Run as administrator. Note that I use Start8, by Stardock, to have a Start button and menu. After you left-click on Run as administrator, your computer might ask you to enter the admin password.

2. Go to the appropriate VPN registry directory called ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesvpnva

3. Double left-click the DisplayName key.

An Edit String pop-up window will appear.

The text under the Value data: field on my computer looked like this.

@oem20.inf,%vpnva_Desc%;Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64

Anyconnect Was Not Able To Establish A Connection To The Specified Secure Gateway Macbook

4. Change the field to

Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64

by removing all the text and characters that are on the left of the word Cisco.

Secure

The end result should look like this:

5. Left-click the ‘OK’ button.

Cisco Vpn Anyconnect Not Able Establish Connection Specified Secure Gateway

6. Exit the Registry Editor

Anyconnect Was Not Able To Establish A Connection To The Specified Secure Gateway Hyper V

Establish

7. Run Cisco AnyConnect VPN Client and reconnect.

Anyconnect Was Not Able To Establish A Connection To The Specified Secure Gateway 2020

That’s all there is to it. Good luck!