# Install swgp-go with Homebrew, Nix

Simple WireGuard proxy with minimal overhead for WireGuard traffic. Version 1.10.0 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#swgp-go.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:swgp-go
- **Package manager:** Homebrew
- **Version:** 1.10.0
- **Source summary:** Simple WireGuard proxy with minimal overhead for WireGuard traffic
- **Homepage:** <https://github.com/database64128/swgp-go>
- **Repository:** <https://github.com/database64128/swgp-go>
- **Last updated:** 2026-07-26T04:03:48+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- swgp-go (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.10.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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`.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for swgp-go. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

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


## Sources

- 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
