# 使用 Homebrew, apk, apt, dnf, Nix, pacman 安装 fastd

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

## 安装

```sh
sudo av install brew:fastd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fastd
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add fastd
```

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

- Debian apt (92%):

```sh
sudo apt install fastd
```

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

- dnf (92%):

```sh
sudo dnf install fastd
```

  证据: Fedora Rawhide package metadata: fastd 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#fastd
```

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

- pacman (92%):

```sh
sudo pacman -S fastd
```

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

## 软件包事实

- **软件包键:** brew:fastd
- **软件包管理器:** Homebrew
- **版本:** 23
- **来源摘要:** Fast and Secure Tunnelling Daemon
- **主页:** <https://github.com/neocturne/fastd>
- **仓库:** <https://github.com/neocturne/fastd>
- **最后更新:** 2026-07-10T21:11:31-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fastd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 23
## 项目历史与用法

fastd is a small VPN daemon that tunnels IP packets and Ethernet frames over UDP. It is designed for flexible topologies, modern software-friendly cryptography, and lightweight deployment on Unix-like systems.

### 项目历史

The upstream README and documentation describe fastd as the Fast and Secure Tunneling Daemon, supporting 1:1, 1:n, and meshed network topologies. It runs on Linux, FreeBSD, OpenBSD, and macOS, with Android code present but not actively maintained.

The stable documentation tracks releases from v15 through v23. v15 introduced Sphinx-based documentation, macOS support, UMAC authentication, status sockets, and OpenWrt integration improvements. Later releases added and refined L2TP offloading, security mitigations, build-system updates, and operational fixes.

fastd's cryptographic documentation emphasizes composable methods, with `salsa2012+umac` recommended for authenticated encryption and `null+salsa2012+umac` for authenticated-only operation. This shows the project's focus on fast software cryptography rather than simply wrapping generic TLS or IPsec stacks.

### 采用历史

The official README says binary packages are provided by many major Linux distributions. The package-manager metadata for this Homebrew formula also shows availability across Alpine, Debian, Fedora, Nix, Arch, Ubuntu, and Homebrew, which fits fastd's role as a deployable networking daemon rather than an application framework.

fastd is particularly associated with community mesh and VPN deployments where simple UDP traversal, peer configuration, and distribution packaging matter. The v23 release notes explicitly discuss common Gluon wireless mesh firmware deployments when explaining which configurations were unaffected by a fast-reconnect amplification issue.

### 使用方式

A typical fastd deployment defines a daemon configuration with bind addresses, methods, secret keys, peers or peer directories, MTU settings, and hook scripts. Peers can be included from directories and reloaded on SIGHUP, which suits mesh-style deployments with many peer definitions.

Operators use fastd when they want a lightweight userspace VPN over UDP with configurable cryptographic methods and TUN/TAP behavior. The daemon can be run as part of routers, Linux servers, BSD hosts, or macOS test environments, with distribution packages handling service integration.

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

fastd is interesting to package maintainers because it lives at the boundary of networking, crypto libraries, init/service integration, capabilities, and platform-specific TUN/TAP behavior. Small changes in dependencies or build options affect what ciphers, MACs, status sockets, and offload paths are available.

It is also a reminder that not every VPN package wants the same abstraction. fastd's packaging matters to mesh-network communities because it is small, scriptable, and available in many distro repositories.

### 时间线

- v15: Added Sphinx documentation, macOS support, UMAC methods, and status sockets.
- v20: Continued release series documented under stable fastd docs.
- v22: Added L2TP-style work later referenced by v23 security notes.
- v23: Mitigated CVE-2025-24356 fast-reconnect amplification behavior.

### Related projects

- Gluon is referenced by fastd's release notes as a common wireless mesh firmware deployment context.
- TUN/TAP drivers and libraries such as libsodium, NaCl, OpenSSL, json-c, and libmnl appear in fastd's platform and feature surface.

### 来源

- <https://github.com/neocturne/fastd>
- <https://fastd.readthedocs.io/en/stable/>
- <https://fastd.readthedocs.io/en/stable/manual/config.html>
- <https://fastd.readthedocs.io/en/stable/manual/methods.html>
- <https://fastd.readthedocs.io/en/stable/releases/v15.html>
- <https://fastd.readthedocs.io/en/stable/releases/v23.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - fastd - 23-2: normalized package name match | Debian stable package indexes: fastd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast and Secure Tunneling Daemon | https://github.com/NeoRaider/fastd
- Debian apt - fastd-doc - 23-2: normalized package name match | Debian stable package indexes: fastd-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast and Secure Tunneling Daemon (documentation) | https://github.com/NeoRaider/fastd
- Nix - fastd: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fastd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fastd - 22-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fastd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast and Secure Tunneling Daemon | https://github.com/NeoRaider/fastd
- Ubuntu apt - fastd-doc - 22-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fastd-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast and Secure Tunneling Daemon (documentation) | https://github.com/NeoRaider/fastd
- apk - fastd - 23-r0: normalized package name match | Alpine Linux edge package indexes: fastd from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast and Secure Tunneling Daemon | https://github.com/NeoRaider/fastd/
- apk - fastd-doc - 23-r0: normalized package name match | Alpine Linux edge package indexes: fastd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast and Secure Tunneling Daemon (documentation) | https://github.com/NeoRaider/fastd/
- apk - fastd-openrc - 23-r0: normalized package name match | Alpine Linux edge package indexes: fastd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast and Secure Tunneling Daemon (OpenRC init scripts) | https://github.com/NeoRaider/fastd/
- dnf - fastd - 23-5.fc45: normalized package name match | Fedora Rawhide package metadata: fastd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Fast and secure tunneling daemon | https://github.com/neocturne/fastd
- pacman - fastd - 23-1: normalized package name match | Arch Linux sync databases: fastd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast and secure tunneling daemon | https://github.com/neocturne/fastd


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
