macOS
brew install wireguard-golocal Homebrew formula metadata
sudo port install wireguard-goMacPorts ports tree · net/wireguard-go/Portfile · ソース: api.github.com
brew
wireguard-go のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install wireguard-golocal Homebrew formula metadata
sudo port install wireguard-goMacPorts ports tree · net/wireguard-go/Portfile · ソース: api.github.com
sudo apk add wireguard-goAlpine Linux edge package indexes · wireguard-go · ソース: dl-cdn.alpinelinux.org
sudo apt install wireguard-goDebian stable package indexes · wireguard-go · ソース: deb.debian.org
nix profile install nixpkgs#wireguard-gonixpkgs package indexes · pkgs/by-name/wi/wireguard-go/package.nix · ソース: api.github.com
概要
Userspace Go implementation of WireGuard
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
wireguard-go | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:wireguard-go |
|---|---|
| バージョン | 0.0.20250522 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/wireguard-go |
| ホームページ | https://www.wireguard.com/ |
| リポジトリ | https://git.zx2c4.com/wireguard-go |
| 上流ドキュメント | https://git.zx2c4.com/wireguard-go/about |
| ライセンス | MIT |
| ソースアーカイブ | https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-0.0.20250522.tar.xz |
| 最終更新 | 2026-07-25T22:40:21+02:00 |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-goソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.