# 使用 Homebrew, Nix, zypper 安装 dsvpn

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

## 安装

```sh
sudo av install brew:dsvpn
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dsvpn
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dsvpn
```

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

- zypper (92%):

```sh
sudo zypper install dsvpn
```

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

## 软件包事实

- **软件包键:** brew:dsvpn
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dsvpn>
- **版本:** 0.1.5
- **来源摘要:** Dead Simple VPN
- **主页:** <https://github.com/jedisct1/dsvpn>
- **仓库:** <https://github.com/jedisct1/dsvpn>
- **许可证:** MIT
- **源码归档:** <https://github.com/jedisct1/dsvpn/archive/refs/tags/0.1.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dsvpn (cli)
- dsvpn (别名)

## 安装行为

- post-install 钩子: 未定义
- 注意事项: dsvpn requires root privileges so you will need to run `sudo $HOMEBREW_PREFIX/sbin/dsvpn`. You should be certain that you trust any software you grant root privileges.
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.5
- 本地数据: OK
- 上游仓库: https://github.com/jedisct1/dsvpn
- 检测到的最新版本: 0.1.5 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

DSVPN is 'Dead Simple VPN', a tiny TCP-based VPN by Frank Denis for the common case of connecting a client through an untrusted or restricted network to a server and then to the Internet. It is deliberately small, dependency-light, and configured by command-line arguments plus a shared key file rather than a fixed config directory.

### 项目历史

The GitHub repository was created in July 2019, and the first public release, 0.1.0, followed later that month. The README explains the author's motivation: needing a VPN that worked where only TCP ports such as 80 or 443 were open, while avoiding the setup complexity or protocol tradeoffs of OpenVPN, WireGuard over UDP, sshuttle, GloryTun, and related tools.

The project is explicit about its ceiling: it solves the author's simple use case, promises no guarantees, and does not plan broad feature expansion. That design stance is part of its history; DSVPN is intentionally a small readable C codebase rather than a general VPN platform.

### 采用历史

DSVPN is distributed through GitHub releases and Homebrew, with other package-manager metadata in the input showing availability in Nix and openSUSE-style zypper packaging. Homebrew packages release 0.1.5 from the GitHub tag.

The README records a small ecosystem around it: an iOS client, systemd service files, an Ansible role, OpenMPTCProuter support, and a Docker image. Those related projects are stronger evidence of practical use than raw package analytics, which are modest in Homebrew.

### 使用方式

Usage starts by creating a 32-byte shared secret with `dd`, copying it to both ends, then running `dsvpn server` on the server and `dsvpn client` on the client. Optional arguments cover port, tunnel interface, tunnel IPs, external IP, and gateway IP, with `auto` defaults for the simple path.

The README emphasizes no configuration file and no post-configuration; the secret key has a user-chosen path, so there is no stable credential-file location for metadata purposes.

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

DSVPN is package-nerd catnip because it is the anti-platform VPN package: a tiny command, small source tree, no external dependencies, no daemon ecosystem, and enough crypto seriousness to avoid feeling like a toy.

It also captures a recurring package-manager need: a tool users can install quickly on constrained servers or routers when the usual VPN stack is too much for the immediate network problem.

### 时间线

- 2019-07: The DSVPN GitHub repository is created.
- 2019-07: GitHub releases publish 0.1.0.
- 2019-08: Releases 0.1.1 through 0.1.3 follow quickly.
- 2019-12: Release 0.1.4 is published.
- 2025-12: Release 0.1.5 is published and packaged by Homebrew.

### Related projects

- dsvpn-ios is named by the README as an iOS client.
- Charm is named by the README as the standalone project for DSVPN's cryptographic primitives.
- WireGuard, GloryTun, VTUN-libsodium, OpenVPN, and sshuttle are named by the README as alternatives or comparisons.

### 来源

- <https://github.com/jedisct1/dsvpn>
- <https://api.github.com/repos/jedisct1/dsvpn>
- <https://api.github.com/repos/jedisct1/dsvpn/releases>
- <https://formulae.brew.sh/api/formula/dsvpn.json>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Nix - dsvpn: normalized package name match | nixpkgs package indexes: pkgs/by-name/ds/dsvpn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - dsvpn - 0.1.4-1.27: normalized package name match | openSUSE Tumbleweed package metadata: dsvpn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Dead Simple VPN | https://github.com/jedisct1/dsvpn


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openvpn](https://pkg.so/zh-hans/brew/openvpn/) - Shares pkgdb curated category or tags: cli, networking, tunneling, vpn.
- [tinc](https://pkg.so/zh-hans/brew/tinc/) - Shares pkgdb curated category or tags: cli, encryption, networking, tunneling, vpn.
- [edgevpn](https://pkg.so/zh-hans/brew/edgevpn/) - 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, tunneling, vpn.
- [onioncat](https://pkg.so/zh-hans/brew/onioncat/) - Shares pkgdb curated category or tags: cli, networking, tunneling, vpn.
- [openfortivpn](https://pkg.so/zh-hans/brew/openfortivpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [nebula](https://pkg.so/zh-hans/brew/nebula/) - Shares pkgdb curated category or tags: cli, networking, vpn.

## Combined YAML source

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


## 来源

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