# 使用 Homebrew, Nix 安装 swgp-go

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

## 安装

```sh
sudo av install brew:swgp-go
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install swgp-go
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#swgp-go
```

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

## 软件包事实

- **软件包键:** brew:swgp-go
- **软件包管理器:** Homebrew
- **版本:** 1.10.0
- **来源摘要:** Simple WireGuard proxy with minimal overhead for WireGuard traffic
- **主页:** <https://github.com/database64128/swgp-go>
- **仓库:** <https://github.com/database64128/swgp-go>
- **最后更新:** 2026-07-26T04:03:48+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- swgp-go (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

swgp-go is a small Go proxy that obfuscates or encrypts WireGuard traffic with minimal overhead. It provides client and server modes intended to sit immediately outside an ordinary WireGuard tunnel.

### 项目历史

The official repository was created in March 2022. The project developed multiple proxy modes that balance overhead and traffic-shape concealment, with newer 2026 modes adding timestamped replay protection while retaining legacy modes for compatibility.

The project reached a 1.x release series and continued regular releases through 2026. Its deployment assets include JSON examples and both singleton and templated systemd unit files.

### 采用历史

Upstream distributes prebuilt release binaries and documents installation through Homebrew, AUR release and VCS packages, and `go install`; a community container image supplies another deployment route. The supplied metadata also records a Nix package.

### 使用方式

Operators run one swgp-go server near a WireGuard endpoint and one client near the WireGuard peer, configuring listen and endpoint addresses, a matching proxy mode and pre-shared key, and the path MTU. Linux deployments can use the supplied systemd units with JSON files under `/etc/swgp-go`.

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

swgp-go is appealing to package and network-tool enthusiasts because it is a single Go binary with no separate control service, conventional JSON configuration, systemd examples, and several installation channels. It addresses WireGuard traffic obfuscation without replacing WireGuard itself.

### 时间线

- 2022: The official swgp-go repository was created.
- 2025: Version 1.8.0 was released during the established 1.x series.
- 2026: Versions 1.9.0 and 1.10.0 were released, and the documented 2026 proxy modes added replay protection.

### Related projects

- WireGuard provides the tunnel traffic carried by swgp-go. The README uses `wg genpsk` for compatible pre-shared keys and points to a community-maintained container image for container deployment.

### 来源

- <https://github.com/database64128/swgp-go#readme>
- <https://github.com/database64128/swgp-go/releases>
- <https://github.com/database64128/swgp-go/tree/main/docs>
- source_facts.package-manager


## 安全说明

没有找到 swgp-go 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Linux: /etc/swgp-go/config.json, /etc/swgp-go/%i.json
## 其他软件包管理器记录

- Nix - swgp-go: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/swgp-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
