macOS
brew install wireguard-golocal Homebrew formula metadata
sudo port install wireguard-goMacPorts ports tree · net/wireguard-go/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für wireguard-go in AI-Agent-Workflows.
Installation
brew install wireguard-golocal Homebrew formula metadata
sudo port install wireguard-goMacPorts ports tree · net/wireguard-go/Portfile · Quelle: api.github.com
sudo apk add wireguard-goAlpine Linux edge package indexes · wireguard-go · Quelle: dl-cdn.alpinelinux.org
sudo apt install wireguard-goDebian stable package indexes · wireguard-go · Quelle: deb.debian.org
nix profile install nixpkgs#wireguard-gonixpkgs package indexes · pkgs/by-name/wi/wireguard-go/package.nix · Quelle: api.github.com
Überblick
Userspace Go implementation of WireGuard
Verlauf
wireguard-go is the official Go userspace implementation of WireGuard, the modern encrypted layer-3 VPN protocol created by Jason A. Donenfeld. It exists alongside the Linux kernel implementation and is most useful where a kernel driver is unavailable, undesirable, or less portable than a userspace tunnel process.
WireGuard itself was designed as a small, auditable alternative to IPsec and OpenVPN, with a public technical paper describing it as a secure network tunnel implemented as a Linux kernel virtual network interface. The WireGuard project later organized several official implementation repositories, including the kernel implementation, cross-platform tools, and wireguard-go as a cross-platform userspace implementation maintained by Donenfeld.
The role of wireguard-go became clearer after WireGuard entered the Linux kernel line: Linux users are generally expected to use the kernel module for performance and integration, while wireguard-go remains the portable fallback for platforms and situations where a userspace TUN implementation is the practical route. Its README explicitly tells Linux users that the kernel module is faster and better integrated, which gives the package a deliberately narrow but important niche.
WireGuard's wider adoption accelerated when it was merged for Linux 5.6 in 2020, turning the protocol from an out-of-tree module plus tools into a standard Linux networking feature. That made userspace implementations less central on modern Linux but more valuable as cross-platform compatibility pieces for macOS, BSD-derived systems, containers, embedded environments, and application stacks that need a WireGuard tunnel without depending on a kernel module.
In package-manager culture, wireguard-go is commonly installed with wireguard-tools or used by higher-level products that need an implementation of the WireGuard protocol in userspace. It is not the glamorous default path on current Linux, but it is the package that makes the same protocol available when the native interface is missing.
A typical invocation creates a WireGuard-style network interface by running a command such as `wireguard-go wg0`; the interface can then be configured with `wg(8)` plus ordinary platform networking tools. The upstream README describes it as creating the interface and then forking into the background, with a foreground mode available for supervision and logging.
The package is usually part of a larger WireGuard setup rather than a complete VPN product by itself. Users still need keys, peers, allowed IPs, routing, and address configuration, usually handled through `wg`, `wg-quick`, system network managers, or application-specific wrappers.
For package maintainers, wireguard-go is the portability valve in the WireGuard ecosystem: small, official, and intentionally less preferred than the kernel implementation on Linux, but essential when kernels, operating systems, or sandboxed deployments cannot provide a native WireGuard device.
Its significance is mostly negative space: if the platform has first-class WireGuard support, users may never notice it; when it does not, this package is often the thing that lets the rest of the WireGuard tooling keep working.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
wireguard-go | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:wireguard-go |
|---|---|
| Version | 0.0.20250522 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/wireguard-go |
| Homepage | https://www.wireguard.com/ |
| Repository | https://git.zx2c4.com/wireguard-go |
| Upstream-Dokumentation | https://git.zx2c4.com/wireguard-go/about |
| Lizenz | MIT |
| Quellarchiv | https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-0.0.20250522.tar.xz |
| Zuletzt aktualisiert | 2026-07-25T22:40:21+02:00 |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wireguard-go |
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
golang-golang.zx2c4-wireguard-dev 0.0.20231211-1
Userspace implementation of WireGuard in Go (library)
https://git.zx2c4.com/wireguard-go/about/
sudo apt install golang-golang.zx2c4-wireguard-devwireguard-go 0.0.20231211-1+b9
Userspace implementation of WireGuard in Go (program)
https://git.zx2c4.com/wireguard-go/about/
sudo apt install wireguard-gowireguard-go
nix profile install nixpkgs#wireguard-gogolang-golang.zx2c4-wireguard-dev 0.0.20230223-1
Userspace implementation of WireGuard in Go (library)
https://git.zx2c4.com/wireguard-go/about/
sudo apt install golang-golang.zx2c4-wireguard-devwireguard-go 0.0.20230223-1
Userspace implementation of WireGuard in Go (program)
https://git.zx2c4.com/wireguard-go/about/
sudo apt install wireguard-gowireguard-go 0.0.20250522-r9
Next generation secure network tunnel: userspace implementation in go
sudo apk add wireguard-gowireguard-go-doc 0.0.20250522-r9
Next generation secure network tunnel: userspace implementation in go (documentation)
sudo apk add wireguard-go-docwireguard-go
sudo port install wireguard-goQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.