macOS
brew install strongswanlocal Homebrew formula metadata
安装
brew install strongswanlocal Homebrew formula metadata
sudo apk add strongswanAlpine Linux edge package indexes · strongswan · 来源: dl-cdn.alpinelinux.org
sudo apt install strongswanDebian stable package indexes · strongswan · 来源: deb.debian.org
sudo dnf install strongswanFedora Rawhide package metadata · strongswan · 来源: dl.fedoraproject.org
nix profile install nixpkgs#strongswannixpkgs package indexes · pkgs/by-name/st/strongswan/package.nix · 来源: api.github.com
sudo pacman -S strongswanArch Linux sync databases · strongswan · 来源: geo.mirror.pkgbuild.com
sudo zypper install strongswanopenSUSE Tumbleweed package metadata · strongswan · 来源: download.opensuse.org
概览
VPN based on IPsec
历史
strongSwan is a long-running open source IPsec and IKE implementation used to build policy- and route-based VPNs. In package-manager culture it is a substantial security package: a suite of daemons, plugins, and command-line tools such as `ipsec`, `swanctl`, `pki`, and `charon-cmd` rather than a single small executable.
The official strongSwan history says the project launched in 2005 as a fork of the discontinued FreeS/WAN project, integrating the X.509 patch its authors had contributed since 2000. The project later replaced inherited FreeS/WAN code with a new modular IKE daemon written in a modern object-oriented C style.
strongSwan initially used the new daemon for IKEv2 while IKEv1 remained handled by an extended FreeS/WAN pluto daemon. Because IKEv2 adoption by other vendors was slower than expected, strongSwan added IKEv1 support to the new daemon in strongSwan 5.0 in 2012 and removed pluto and other legacy components.
The project documents more than 400,000 lines of code, more than 400 automated tests, and more than 110 contributors on its official about page. The input package facts show broad packaging across Homebrew, Debian and Ubuntu components, Fedora, Nix, pacman, APK, and zypper, reflecting its role as infrastructure software rather than a niche CLI.
Administrators use strongSwan to configure, control, and monitor IPsec/IKE VPNs. Official documentation describes `swanctl` as the command-line utility for configuring, controlling, and monitoring the IKE charon daemon through the vici interface, while the broader documentation covers configuration files, certificates, kernel integration, and platform-specific builds.
Package nerds care about strongSwan because it sits at the intersection of kernel networking, cryptography, service management, plugin selection, and distro policy. Packaging it correctly means handling default configuration paths, private-key directories, optional plugins, service startup, and compatibility across Linux, macOS, FreeBSD, Android, and other supported environments.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/strongswan.conf/etc/strongswan.d//etc/swanctl/swanctl.conf/etc/swanctl/conf.d/*.confCredential-bearing paths to review before unattended agent runs.
/etc/swanctl/private//etc/swanctl/rsa//etc/swanctl/ecdsa//etc/swanctl/pkcs8//etc/swanctl/pkcs12//etc/swanctl/swanctl.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
charon-cmd | cli | 全局可执行文件 | |
ipsec | cli | 全局可执行文件 | |
pki | cli | 全局可执行文件 | |
swanctl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:strongswan |
|---|---|
| 版本 | 6.0.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/strongswan |
| 主页 | https://www.strongswan.org |
| 仓库 | https://github.com/strongswan/strongswan |
| 上游文档 | https://docs.strongswan.org/ |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://download.strongswan.org/strongswan-6.0.7.tar.bz2 |
| 最后更新 | 2026-06-08T08:40:44Z |
| Pulse | updated |
| 依赖 | openssl@3 |
| macOS 提供的库 | curl |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | You will have to run both "ipsec" and "charon-cmd" with "sudo". |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
charon-cmd 6.0.1-6+deb13u5
standalone IPsec client
sudo apt install charon-cmdcharon-systemd 6.0.1-6+deb13u5
strongSwan IPsec client, systemd support
sudo apt install charon-systemdlibcharon-extauth-plugins 6.0.1-6+deb13u5
strongSwan charon library (extended authentication plugins)
sudo apt install libcharon-extauth-pluginslibcharon-extra-plugins 6.0.1-6+deb13u5
strongSwan charon library (extra plugins)
sudo apt install libcharon-extra-pluginslibstrongswan 6.0.1-6+deb13u5
strongSwan utility and crypto library
sudo apt install libstrongswanlibstrongswan-extra-plugins 6.0.1-6+deb13u5
strongSwan utility and crypto library (extra plugins)
sudo apt install libstrongswan-extra-pluginslibstrongswan-standard-plugins 6.0.1-6+deb13u5
strongSwan utility and crypto library (standard plugins)
sudo apt install libstrongswan-standard-pluginsstrongswan 6.0.1-6+deb13u5
IPsec VPN solution metapackage
sudo apt install strongswanstrongswan-charon 6.0.1-6+deb13u5
strongSwan Internet Key Exchange daemon
sudo apt install strongswan-charonstrongswan-libcharon 6.0.1-6+deb13u5
strongSwan charon library
sudo apt install strongswan-libcharonstrongswan-nm 6.0.1-6+deb13u5
strongSwan plugin to interact with NetworkManager
sudo apt install strongswan-nmstrongswan-pki 6.0.1-6+deb13u5
strongSwan IPsec client, pki command
sudo apt install strongswan-pkistrongswan-starter 6.0.1-6+deb13u5
strongSwan daemon starter and configuration file parser
sudo apt install strongswan-starterstrongswan-swanctl 6.0.1-6+deb13u5
strongSwan IPsec client, swanctl command
sudo apt install strongswan-swanctlstrongswan
nix profile install nixpkgs#strongswancharon-cmd 5.9.13-2ubuntu4
standalone IPsec client
sudo apt install charon-cmd来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.