cloudflare

    cloudflare/boringtun

    Userspace WireGuard® Implementation in Rust

    backend
    cloudflare
    rust
    wireguard
    Rust
    BSD-3-Clause
    7.2K stars
    540 forks
    7.2K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 52 contributors on GitHub.

    Gained 30% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Implements a userspace WireGuard VPN protocol in Rust for portability and speed.
    • Offers a fast, portable WireGuard implementation usable as a CLI tool or embedded library across multiple platforms.
    • Use for integrating WireGuard VPN functionality into iOS and Android client applications via the Rust library.
    • Use for running a userspace WireGuard VPN tunnel on Linux or macOS without kernel module dependencies.
    • Use for developing cross-platform VPN solutions requiring efficient, secure tunneling with Rust and FFI or JNI bindings.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    BSD 3-Clause

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Boringtun is currently undergoing a restructuring. You should probably not rely on or link to the master branch right now. Instead you should use the crates.io page.

    BoringTun is an implementation of the WireGuard® protocol designed for portability and speed.

    BoringTun is successfully deployed on millions of iOS and Android consumer devices as well as thousands of Cloudflare Linux servers.

    By default the executable is placed in the ./target/release folder. You can copy it to a desired location manually, or install it using cargo install --bin boringtun --path ..

    Excerpt from the cloudflare/boringtun README on GitHub (BSD-3-Clause license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    540+15

    Open issues

    116+9

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    cloudflare/boringtun compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    cloudflare/boringtun7.2K—45—
    Category median56.0K+2.3K29—

    Also by cloudflare

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description