When I start the AnyConnect Software and put in the DNS or IP information I immediately receive the error message of 'The client could not connect because of a secure gateway address failure. Please verify Internet connectivity and server address' The PC is resolving the address information so connectivity is not an issue that I can see.
Cisco Secure Mobility Client Vpn
Cisco Anyconnect Secure Mobility Client Windows 10
- Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64 Then, check if the VPN client can work fine. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help.
- I try to connect other server by vpn with Cisco AnyConnect. For the first time, it connects. But if I try to reconnect, it shows: Okay, but connection has been established for the first time.
- The VPN service for AnyConnect is not running. Solution: Determine if another application conflicted with the service by going to the Windows Administration Tools then make sure that the Cisco AnyConnect VPN Agent is not running.
On some of our projects, we have a requirement to connect to a VPN for server access. Our team was having an issue specifically with Cisco AnyConnect Secure Mobility Client on Mac OSX making vagrant based local development environments become non-responsive. After connecting to the VPN, SSH inside the Vagrant box would stop working, as well as visiting any local domains. From what I've gathered, Cisco AnyConnect can be a bit aggressive with local networking.
I've seen the same thing in the past, because AnyConnect basically blows out your hosts file and local networking configuration and replaces it with Ciscos (many other things besides local development environments can be broken because of this).
Jeff Geerling, Creator of DrupalVM
From what I could find, the issue seems to be semi-well documented with very few or complicated solutions. Here are just a few over the past few years:
The only resolve is to completely restart the computer and then start Vagrant again. Simply restarting vagrant did not work. This of course is completely frustrating when you need to switch between local development and testing in a staging environment where VPN is required.
Resolution
Finally after a lot of searching, I found OpenConnect. OpenConnect is an SSL VPN client initially created to support Cisco's AnyConnect SSL VPN. In my case, I was able to simply switch from Cisco AnyConnect to OpenConnect and all my Vagrant issues went away.