# Install strongswan

VPN based on IPsec. Version 6.0.7 via Homebrew; verified 2026-06-08.

## Install

```sh
sudo av install brew:strongswan
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install strongswan
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add py3-vici
```

  Evidence: Alpine Linux edge package indexes: py3-vici from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install charon-cmd
```

  Evidence: Debian stable package indexes: charon-cmd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install perl-vici
```

  Evidence: Fedora Rawhide package metadata: perl-vici from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#strongswan
```

  Evidence: nixpkgs package indexes: pkgs/by-name/st/strongswan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S strongswan
```

  Evidence: Arch Linux sync databases: strongswan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install strongswan
```

  Evidence: openSUSE Tumbleweed package metadata: strongswan from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:strongswan
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/strongswan>
- **Version:** 6.0.7
- **Source summary:** VPN based on IPsec
- **Homepage:** <https://www.strongswan.org>
- **Repository:** <https://github.com/strongswan/strongswan>
- **Upstream docs:** <https://docs.strongswan.org/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://download.strongswan.org/strongswan-6.0.7.tar.bz2>
- **Last updated:** 2026-06-08T08:40:44Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- charon-cmd (cli)
- ipsec (cli)
- pki (cli)
- swanctl (cli)
- charon-cmd (alias)
- ipsec (alias)
- pki (alias)
- swanctl (alias)

## Dependencies

- openssl@3

## macOS Provided Libraries

- curl

## Install Behavior

- Post-install hook: not defined
- Caveats: You will have to run both "ipsec" and "charon-cmd" with "sudo".
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 6.0.7
- Package-manager updated: 2026-06-08
- Local data status: ok
- Upstream repository: https://www.strongswan.org
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** strongswan
- **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:** head, stable

## Other Package-Manager Records

- Debian apt - charon-cmd - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: charon-cmd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | standalone IPsec client | http://www.strongswan.org
- Debian apt - charon-systemd - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: charon-systemd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan IPsec client, systemd support | http://www.strongswan.org
- Debian apt - libcharon-extauth-plugins - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: libcharon-extauth-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan charon library (extended authentication plugins) | http://www.strongswan.org
- Debian apt - libcharon-extra-plugins - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: libcharon-extra-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan charon library (extra plugins) | http://www.strongswan.org
- Debian apt - libstrongswan - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: libstrongswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan utility and crypto library | http://www.strongswan.org
- Debian apt - libstrongswan-extra-plugins - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: libstrongswan-extra-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan utility and crypto library (extra plugins) | http://www.strongswan.org
- Debian apt - libstrongswan-standard-plugins - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: libstrongswan-standard-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan utility and crypto library (standard plugins) | http://www.strongswan.org
- Debian apt - strongswan - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | IPsec VPN solution metapackage | http://www.strongswan.org
- Debian apt - strongswan-charon - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-charon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan Internet Key Exchange daemon | http://www.strongswan.org
- Debian apt - strongswan-libcharon - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-libcharon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan charon library | http://www.strongswan.org
- Debian apt - strongswan-nm - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-nm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan plugin to interact with NetworkManager | http://www.strongswan.org
- Debian apt - strongswan-pki - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-pki from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan IPsec client, pki command | http://www.strongswan.org
- Debian apt - strongswan-starter - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-starter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan daemon starter and configuration file parser | http://www.strongswan.org
- Debian apt - strongswan-swanctl - 6.0.1-6+deb13u5: normalized package name match | Debian stable package indexes: strongswan-swanctl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strongSwan IPsec client, swanctl command | http://www.strongswan.org
- Nix - strongswan: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/strongswan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - charon-cmd - 5.9.13-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: charon-cmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | standalone IPsec client | http://www.strongswan.org


## Related Links

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/ja/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [ike-scan](https://www.automicvault.com/ja/pkg/brew/ike-scan/) - Shares av.db curated category or tags: cli, ike, security, vpn.
- [killswitch](https://www.automicvault.com/ja/pkg/brew/killswitch/) - Shares av.db curated category or tags: cli, network-security, security, vpn.
- [openssh](https://www.automicvault.com/ja/pkg/brew/openssh/) - Shares av.db curated category or tags: cli, network-security, security.
- [bettercap](https://www.automicvault.com/ja/pkg/brew/bettercap/) - Shares av.db curated category or tags: cli, network-security, security.
- [easy-rsa](https://www.automicvault.com/ja/pkg/brew/easy-rsa/) - Shares av.db curated category or tags: cli, security, vpn.
- [zeek](https://www.automicvault.com/ja/pkg/brew/zeek/) - Shares av.db curated category or tags: cli, network-security, security.
- [ettercap](https://www.automicvault.com/ja/pkg/brew/ettercap/) - Shares av.db curated category or tags: cli, network-security, security.
- [suricata](https://www.automicvault.com/ja/pkg/brew/suricata/) - Shares av.db curated category or tags: cli, network-security, security.
- [openiked](https://www.automicvault.com/ja/pkg/brew/openiked/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, ipsec, network, network-security, openssl.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
