# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.24.1
- **来源摘要:** Open Fortinet client for PPP+TLS VPN tunnel services
- **主页:** <https://github.com/adrienverge/openfortivpn>
- **仓库:** <https://github.com/adrienverge/openfortivpn>
- **最后更新:** 2026-05-12T11:33:36-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- openfortivpn (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
