cloudflare/boringtun
Userspace WireGuard® Implementation in Rust observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 90
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2882
- days_rel: n/a
- days_push: 65
- n_releases_24m: 0
Adoption not part of the score
7185 stars · 529 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
BoringTun is a Rust implementation of the WireGuard VPN protocol, provided both as a reusable library and as a userspace CLI executable (boringtun-cli) for Linux and macOS. It is deployed in production on millions of mobile devices via Cloudflare's 1.1.1.1 app and thousands of Linux servers.
Use cases
- set up a userspace WireGuard VPN tunnel on Linux or macOS
- embed WireGuard protocol support in an iOS or Android app
- use wg-quick with a userspace implementation
- build a custom VPN client without kernel WireGuard support
- implement fast portable WireGuard in Rust
When to choose
- you need a userspace WireGuard implementation without kernel module requirements
- you want to embed the WireGuard protocol in a mobile or cross-platform Rust application
- you need a production-proven WireGuard library (used by Cloudflare at scale)
When to avoid
- you need a full VPN solution with GUI and key management out of the box
- you require Windows support, which is not a documented target
- you want a stable master branch - the repo is undergoing restructuring and crates.io is recommended
Facets
library · maturity active
vpn networking cryptography security networking security privacy cross-platform rust wireguard userspace-implementation tunnel vpn-client linux macos android ios
2 sources
- readme: https://github.com/cloudflare/boringtun · fetched 2026-08-28 · 785e2ebac311
- registry_crates: https://crates.io/api/v1/crates/boringtun · fetched 2026-08-29 · 3c648ecc29a8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cloudflare/boringtun | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="cloudflare/boringtun")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem