# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 openfortivpn

查看 openfortivpn 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:openfortivpn
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install openfortivpn
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install openfortivpn
```

  证据: MacPorts ports tree: net/openfortivpn/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add openfortivpn
```

  证据: Alpine Linux edge package indexes: openfortivpn from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install openfortivpn
```

  证据: Debian stable package indexes: openfortivpn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install openfortivpn
```

  证据: Fedora Rawhide package metadata: openfortivpn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#openfortivpn
```

  证据: nixpkgs package indexes: pkgs/by-name/op/openfortivpn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S openfortivpn
```

  证据: Arch Linux sync databases: openfortivpn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install openfortivpn
```

  证据: openSUSE Tumbleweed package metadata: openfortivpn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:openfortivpn
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/openfortivpn>
- **版本:** 1.24.1
- **来源摘要:** Open Fortinet client for PPP+TLS VPN tunnel services
- **主页:** <https://github.com/adrienverge/openfortivpn>
- **仓库:** <https://github.com/adrienverge/openfortivpn>
- **许可证:** GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- **源码归档:** <https://github.com/adrienverge/openfortivpn/archive/refs/tags/v1.24.1.tar.gz>
- **最后更新:** 2026-05-12T11:33:36-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- openfortivpn (cli)
- openfortivpn (别名)

## 依赖

- openssl@4

## 构建依赖

- autoconf
- automake
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.24.1
- 管理器更新时间: 2026-05-12
- 本地数据: OK
- 上游仓库: https://github.com/adrienverge/openfortivpn
- 检测到的最新版本: v1.24.1 (当前)
## 项目历史与用法

openfortivpn is a command-line client for Fortinet-compatible PPP-over-TLS VPN services. It launches pppd, handles the TLS session to the gateway, and bridges that gateway communication to a local point-to-point network interface.

### 项目历史

The GitHub repository was created in January 2015 to provide an open client for Fortinet VPNs, filling a practical gap for Unix-like users who wanted a scriptable FortiGate SSL VPN client without relying on proprietary GUI tooling.

The changelog shows the project evolving around real VPN compatibility work: OpenSSL compatibility, resolvconf integration, DNS suffix handling, smartcard support, one-time-password and FortiToken-push handling, host-check support, systemd notification, TLS certificate fixes, and later SAML login support in the 1.23.0 series.

### 采用历史

openfortivpn spread through operating-system package repositories because it solves a narrow but common enterprise problem. The README lists packages for Fedora/CentOS, openSUSE/SLE, Gentoo, NixOS, Arch Linux, Debian, Ubuntu, Solus, Alpine Linux, Homebrew, and MacPorts.

### 使用方式

Operators run openfortivpn with a gateway, username, optional realm, certificate settings, or a config file such as /etc/openfortivpn/my-config. Because it spawns pppd, changes routes, and may update DNS configuration, the README documents the need for elevated privileges and warns administrators to restrict who can run it as root.

The tool is used most often as a small terminal-oriented VPN connector: connect to a FortiGate endpoint, authenticate with password, OTP, smartcard, certificate, SAML, or an externally supplied cookie, then let pppd establish the tunnel and route traffic.

### 为什么软件包爱好者会关心

openfortivpn is package-nerd interesting because it is infrastructure glue at the exact boundary where proprietary network appliances meet open Unix clients. Its value is less in a broad framework and more in being a small, maintained binary that distro maintainers can ship for a specific corporate VPN protocol.

### 时间线

- January 2015: the openfortivpn GitHub repository was created.
- Version 1.12.0: the changelog records fixes for CVE-2020-7041, CVE-2020-7042, and CVE-2020-7043 around TLS certificate handling.
- Version 1.23.0: SAML login authentication was added.
- Version 1.24.0: OpenSSL 3 PKCS#11 support and OpenSSL engine support were updated.

### Related projects

- openfortivpn is related to Fortinet FortiGate/FortiClient SSL VPN deployments, pppd, OpenSSL, resolvconf, OpenFortiGUI, and other open VPN clients such as OpenConnect, though its focus is Fortinet's PPP+TLS VPN behavior.

### 来源

- <https://api.github.com/repos/adrienverge/openfortivpn>
- <https://archlinux.org/packages/extra/x86_64/openfortivpn/>
- <https://formulae.brew.sh/formula/openfortivpn>
- <https://github.com/adrienverge/openfortivpn>
- <https://raw.githubusercontent.com/adrienverge/openfortivpn/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/adrienverge/openfortivpn/master/README.md>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

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.


## Configuration files

- Unix: /etc/openfortivpn/my-config

## Credential files

- Unix: /etc/openfortivpn/my-config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openfortivpn
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - openfortivpn - 1.23.1-1: normalized package name match | Debian stable package indexes: openfortivpn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fortinet client for PPP+SSL VPN tunnel services | https://github.com/adrienverge/openfortivpn
- Nix - openfortivpn: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/openfortivpn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - openfortivpn - 1.21.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: openfortivpn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fortinet client for PPP+SSL VPN tunnel services | https://github.com/adrienverge/openfortivpn
- apk - openfortivpn - 1.24.1-r0: normalized package name match | Alpine Linux edge package indexes: openfortivpn from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Openfortivpn is a client for PPP+SSL VPN tunnel services | https://github.com/adrienverge/openfortivpn
- apk - openfortivpn-doc - 1.24.1-r0: normalized package name match | Alpine Linux edge package indexes: openfortivpn-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Openfortivpn is a client for PPP+SSL VPN tunnel services (documentation) | https://github.com/adrienverge/openfortivpn
- dnf - openfortivpn - 1.23.1-5.fc45: normalized package name match | Fedora Rawhide package metadata: openfortivpn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Client for PPP+SSL VPN tunnel services | https://github.com/adrienverge/openfortivpn
- pacman - openfortivpn - 1.24.1-1: normalized package name match | Arch Linux sync databases: openfortivpn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open implementation of Fortinet's proprietary PPP+SSL VPN solution | https://github.com/adrienverge/openfortivpn
- zypper - openfortivpn - 1.24.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: openfortivpn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Client for PPP+SSL VPN tunnel services | https://github.com/adrienverge/openfortivpn
- MacPorts - openfortivpn: normalized package name match | MacPorts ports tree: net/openfortivpn/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@4](https://pkg.so/zh-hans/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [openvpn](https://pkg.so/zh-hans/brew/openvpn/) - Shares pkgdb curated category or tags: cli, networking, tls, vpn.
- [nebula](https://pkg.so/zh-hans/brew/nebula/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [edgevpn](https://pkg.so/zh-hans/brew/edgevpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [boringtun](https://pkg.so/zh-hans/brew/boringtun/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [macosvpn](https://pkg.so/zh-hans/brew/macosvpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [fastd](https://pkg.so/zh-hans/brew/fastd/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [dsvpn](https://pkg.so/zh-hans/brew/dsvpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [onioncat](https://pkg.so/zh-hans/brew/onioncat/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [icann-rdap](https://pkg.so/zh-hans/brew/icann-rdap/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, networking, openssl, openssl-4.
- [proxytunnel](https://pkg.so/zh-hans/brew/proxytunnel/) - Local package facts share a topical domain. Shared terms: cli, networking, openssl, openssl-4, tunnel.

## Combined YAML source

View the package source record on GitHub. [combined/openfortivpn.yml](https://github.com/mxcl/pkgdb/blob/main/combined/openfortivpn.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
