brew install openconnect
sudo openconnect vpn.domain.com -u email@domain.com --authgroup=VPN-SSL-GROUP
If you have issues with DNS resolution (even though your /ect/resolv.conf
looks good), configure DNS servers manually:
# list of available networks can be found using:
# networksetup -listallnetworkservices
networksetup -setdnsservers Wi-Fi 10.66.0.1
Optional GUI
brew cask install openconnect-gui
Mac OS X users with OS X 10.6 or older, or using OpenConnect 6.00 or older, will also need to install the Mac OS X tun/tap driver. Newer versions of OpenConnect will use the utun device on OS X which does not require additional kernel modules to be installed.
brew install tuntap