How to Connect to OpenConnect VPN

Windows

Please download and install open source client for Windows.

From Android

Simply Install OpenConnect App from Google Play.

https://play.google.com/store/apps/details?id=app.openconnect

iOS (Apple Devices)

You can use Cisco AnyConnect client from iTunes

Mac OS

Commercial or Proprietary

If you have license, you can use Cisco AnyConnect Client to connect to your Enterprise VPN.

Alternatively, you can purchase Shimp client from https://www.shimovpn.com/

Open Source

Setup homebrew by running the following (ruby comes preinstalled):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Now that you have homebrew installed, you can use it to install open source VPN client:

brew update  
brew install openconnect

Note: To run openconnect without admin privlidges, add a line like below to your sudoers file to allow this:

%admin  ALL=(ALL) NOPASSWD: /usr/local/bin/openconnect 

To connect, run

openconnect -u <username> vpn.yourcompany.com 

For tun/tap device, install then uninstall trial version of Viscosity from https://www.sparklabs.com/viscosity/

From Linux

On Fedora / Ubuntu and compatibale systems, openconnect is usually already there. You just need to Define new VPN connection connection from
NetworkManager GUI and use it.

Open Settings > Network Connections and click “Add new connection” button.

In case your instalation doesn’t have openconnect already included, you can install it using:

sudo dnf install NetworkManager-openconnect
sudo dnf install NetworkManager-openconnect-gnome