# mullvad/gotatun

Userspace WireGuard® Implementation in Rust

Repository: https://github.com/mullvad/gotatun
Canonical: https://ross.abutalabs.com/products/gotatun
Language: Rust
License: MPL-2.0
License Family: copyleft
Last push: 2026-08-26T13:41:30+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 70
- inputs: {"age_days": 980, "days_push": 7, "days_rel": 15, "gap_med": 13, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1360, forks 58 (observed 2026-08-28T04:04:29.935524+00:00)

## What it is
GotaTun is a userspace WireGuard implementation in Rust, forked from Cloudflare's BoringTun, providing both a library and a standalone tunnel executable. It works with standard wg and wg-quick tooling and targets Linux, macOS, Windows, Android, and iOS.

## Use cases
- run a userspace wireguard tunnel without kernel module
- embed wireguard protocol in a rust application
- use wg-quick with a userspace implementation
- build a vpn client for mobile platforms
- create wireguard tunnels on windows or macos

## When to choose
- you need a portable wireguard implementation in Rust
- you cannot install the wireguard kernel module
- you want to embed wireguard in your own app via a library
- you need cross-platform support including mobile

## When to avoid
- you already have the Linux wireguard kernel module and prefer kernel performance
- you need a full VPN management GUI
- you need OpenVPN or other VPN protocols

## Facets
- artifact type: library
- maturity: active
- function: vpn, networking, cryptography, cli
- domain: networking, security, privacy, cross-platform
- platform: windows, rust, cli
- tags: wireguard, userspace-tunnel, boringtun-fork, tunnel, linux, macos, android, ios

## Member repositories
- mullvad/gotatun (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.935524+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:39.789959+00:00, confidence not recorded.
  - readme: https://github.com/mullvad/gotatun (fetched 2026-08-28T04:04:29.935524+00:00, sha 55b4005a8475)
  - registry_crates: https://crates.io/api/v1/crates/gotatun (fetched 2026-08-29T11:59:25.977172+00:00, sha 09d227c0ac87)
- Data as of 2026-08-30T08:39:29.467469+00:00.
