You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unfortunately, the Cisco AnyConnect client for Mac conflicts with [Pow](http://pow.cx/). And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is [OpenConnect](http://www.infradead.org/openconnect/), a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
1. OpenConnect can be installed via [homebrew](http://mxcl.github.com/homebrew/):
brew update
brew install openconnect
2. Install the [Mac OS X TUN/TAP](http://tuntaposx.sourceforge.net/) driver
3. (Optional) Running openconnect requires sudo, presumably because it affects resolution of DNS. So, I added password-less sudo ability for the openconnect command.
4. (Optional) When connecting to your SSL VPN, openconnect may complain about a "self-signed certificate" being in the chain and force you to explicitly accept it every time. The self-signed cert is actually the root certficate and (hopefully) is one with implicit trust (i.e. trusted by browsers), so we can safely trust it by specifying the CA file after exporting it from KeyChain:
1. Determine the name your root certificate (i.e. visit your SSL VPN in Chrome, click the green lock, click "Certificate Information")
The only thing you should be prompted for is your VPN password. I added the command to my aliases file.
6. To disconnect, just Ctrl-c in the window where you started the VPN connection.
#### Note
I had an incident after an unclean VPN exit where later the VPN hostname could not be found. I guess the DNS resolver was messed up. I was forced to reboot to fix it so I could reconnect to the VPN.