macOS
brew install openconnectlocal Homebrew formula metadata
sudo port install openconnectMacPorts ports tree · net/openconnect/Portfile · source: api.github.com
brew
Open client for Cisco AnyConnect VPN. Version 9.21 via Homebrew; verified 2026-06-18.
install
brew install openconnectlocal Homebrew formula metadata
sudo port install openconnectMacPorts ports tree · net/openconnect/Portfile · source: api.github.com
sudo apk add openconnectAlpine Linux edge package indexes · openconnect · source: dl-cdn.alpinelinux.org
sudo apt install libopenconnect-devDebian stable package indexes · libopenconnect-dev · source: deb.debian.org
sudo dnf install openconnectFedora Rawhide package metadata · openconnect · source: dl.fedoraproject.org
sudo pacman -S openconnectArch Linux sync databases · openconnect · source: geo.mirror.pkgbuild.com
sudo zypper install libopenconnect5openSUSE Tumbleweed package metadata · libopenconnect5 · source: download.opensuse.org
scoop install main/openconnectScoop official bucket manifest trees · bucket/openconnect.json · source: api.github.com
overview
Open client for Cisco AnyConnect VPN
history
OpenConnect is a free, LGPL-licensed SSL VPN client that began as an open replacement for Cisco AnyConnect on Linux and grew into a multi-protocol VPN client. It supports Cisco AnyConnect, Juniper/Network Connect, Pulse/Ivanti, Palo Alto GlobalProtect, F5 BIG-IP, Fortinet FortiGate, and Array Networks SSL VPN protocols through one command-line tool and library.
The official project page says OpenConnect development started after testing Cisco's AnyConnect Linux client exposed practical gaps: smartcard and certificate handling limitations, i386-only Linux support, poor NetworkManager integration, and weak Linux distribution packaging. The project therefore began as a compatibility client but with Unix packaging and desktop integration as first-class concerns.
OpenConnect's changelog shows the project expanding from a Cisco-focused client into a compatibility layer for several enterprise VPN products. Juniper support appeared experimentally in the 7.x era, the `--protocol` option was added in 7.07, and later 8.x releases added GlobalProtect, F5, Fortinet, and Array protocol work alongside Windows, Android, SSO, token, and TPM improvements.
OpenConnect was adopted by package managers and front ends because it solved a common enterprise access problem without requiring Cisco's proprietary client on every platform. Its documentation links to Linux, BSD, macOS, Windows, and Android paths, and it is packaged by Homebrew, Debian/Ubuntu, Fedora, Arch, openSUSE, Alpine, MacPorts, Scoop, and other systems.
The companion `ocserv` server implements an improved version of the AnyConnect protocol, which made the OpenConnect ecosystem useful for both client compatibility and open deployments. NetworkManager integration and libopenconnect API work made it easier for desktop tools and distribution front ends to use the same underlying client.
Users run `openconnect` against a VPN gateway, optionally selecting a protocol with `--protocol`. Authentication is handled through forms, certificates, smartcards, token modes, external browser/SSO flows, or protocol-specific mechanisms; after authentication, the client configures a tunnel and routes traffic through TLS, DTLS, ESP, or protocol-specific transports where supported.
Administrators and package maintainers care about OpenConnect because VPN servers are often controlled by employers or institutions, while clients must be installable and automatable on developer laptops, servers, routers, and CI-like environments. The command-line client plus `libopenconnect` gives both scriptable and GUI front ends a shared implementation.
OpenConnect is significant because it sits at the intersection of cryptography libraries, OS tunnel interfaces, corporate authentication flows, and distro packaging. Formula and package updates can affect TLS behavior, SSO compatibility, token handling, platform tunnel drivers, and interoperability with appliance firmware that changes outside the open-source project.
security posture
No matching local secret-handling manifest was found for openconnect. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
openconnect | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.infradead.org/openconnect/
install metadata
| Package key | brew:openconnect |
|---|---|
| Version | 9.21 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/openconnect |
| Homepage | https://www.infradead.org/openconnect/ |
| Repository | https://git.infradead.org/users/dwmw2/openconnect.git |
| Upstream docs | https://www.infradead.org/openconnect |
| License | LGPL-2.1-only |
| Source archive | https://www.infradead.org/openconnect/download/openconnect-9.21.tar.gz |
| Last updated | 2026-06-18T14:09:02Z |
| Pulse | updated |
| Dependencies | gettext, gmp, gnutls, nettle, p11-kit, stoken |
| Build dependencies | gettext, pkgconf |
| Uses from macOS | libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | A `vpnc-script` has been installed at $HOMEBREW_PREFIX/etc/vpnc/vpnc-script. If you applied any local changes then newer versions will be available at $HOMEBREW_PREFIX/etc/vpnc/vpnc-script.default |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | openconnect |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libopenconnect-dev 9.12-3+deb13u2
open client for various network vendors SSL VPNs - development files
https://www.infradead.org/openconnect/
sudo apt install libopenconnect-devlibopenconnect5 9.12-3+deb13u2
open client for various network vendors SSL VPNs - shared library
https://www.infradead.org/openconnect/
sudo apt install libopenconnect5openconnect 9.12-3+deb13u2
open client for various network vendors SSL VPNs
https://www.infradead.org/openconnect/
sudo apt install openconnectlibopenconnect-dev 9.12-1build5
open client for various network vendors SSL VPNs - development files
https://www.infradead.org/openconnect/
sudo apt install libopenconnect-devlibopenconnect5 9.12-1build5
open client for various network vendors SSL VPNs - shared library
https://www.infradead.org/openconnect/
sudo apt install libopenconnect5openconnect 9.12-1build5
open client for various network vendors SSL VPNs
https://www.infradead.org/openconnect/
sudo apt install openconnectopenconnect 9.12-r2
Open client for Cisco AnyConnect VPN
https://www.infradead.org/openconnect/
sudo apk add openconnectopenconnect-bash-completion 9.12-r2
Bash completions for openconnect
https://www.infradead.org/openconnect/
sudo apk add openconnect-bash-completionopenconnect-dev 9.12-r2
Open client for Cisco AnyConnect VPN (development files)
https://www.infradead.org/openconnect/
sudo apk add openconnect-devopenconnect-doc 9.12-r2
Open client for Cisco AnyConnect VPN (documentation)
https://www.infradead.org/openconnect/
sudo apk add openconnect-docopenconnect-openrc 9.12-r2
Open client for Cisco AnyConnect VPN (OpenRC init scripts)
https://www.infradead.org/openconnect/
sudo apk add openconnect-openrcopenconnect 9.12-11.fc45
Open multi-protocol SSL VPN client
https://www.infradead.org/openconnect/
sudo dnf install openconnectopenconnect-devel 9.12-11.fc45
Development package for OpenConnect VPN authentication tools
https://www.infradead.org/openconnect/
sudo dnf install openconnect-developenconnect 1:9.12-5
Open client for Cisco AnyConnect VPN
https://www.infradead.org/openconnect/
sudo pacman -S openconnectlibopenconnect5 9.12-3.6
Libraries for openconnect
http://www.infradead.org/openconnect.html
sudo zypper install libopenconnect5openconnect 9.12-3.6
Client for Cisco AnyConnect VPN
http://www.infradead.org/openconnect.html
sudo zypper install openconnectsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.