# 使用 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
- **版本:** 0.1.5
- **来源摘要:** Dead Simple VPN
- **主页:** <https://github.com/jedisct1/dsvpn>
- **仓库:** <https://github.com/jedisct1/dsvpn>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dsvpn (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


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