qmetrics.net

WireGuard Go

Go userspace implementation of the WireGuard VPN protocol

WireGuard Go implements WireGuard in Go for systems where the kernel module is not used. It creates tunnel interfaces you configure with standard wg, ip, and ifconfig tools.

Overview

WireGuard Go is an implementation of the WireGuard VPN protocol written in Go. It is intended as an alternative to the in-kernel WireGuard driver on platforms or setups where running userspace code is appropriate.

You start it to create a network interface that runs in the background unless you pass a foreground flag. Removal uses normal interface delete commands or, on some systems, deleting the control socket so the process shuts down. Once the interface exists, you configure it with the wg utility and familiar IP networking commands. Extra logging is available through an environment variable.

On Linux, the kernel module is recommended when possible for integration and speed. The same code also targets macOS via the utun driver, Windows, FreeBSD, and OpenBSD, with platform-specific interface naming rules on some of those systems. On Windows, a separate desktop application offers a more full-featured option while still using this implementation internally.

Usage and platform notes are documented for contributors; authoritative upstream development happens outside this mirror.

Key features

  • Userspace WireGuard tunnel interfaces
  • Background or foreground daemon modes
  • Configurable with wg and ip tools
  • Linux, macOS, Windows, BSD support notes
  • Debug logging via LOGLEVEL

Use cases

  • Running WireGuard without the Linux kernel module
  • VPN tunnels on macOS using utun
  • Embedding WireGuard logic in other Go programs

Similar software

Pi-hole

Network-wide DNS sinkhole for ads and unwanted content

Pi-hole is a DNS sinkhole that blocks ads and unwanted content for every device on your network without client-side software on each device.

★ 62.3k⟳ 16 days agoEUPL-1.2

V2Ray Core

Core proxy platform for Project V networking tools

V2Ray implements Project V’s core networking protocols. It helps build proxies that secure connections and route traffic through configurable inbounds and outbounds.

★ 46.9k⟳ 3 years agoMIT
Networking & ConnectivityNo commits in 18+ monthsDesktop/CLI app

Headscale

Self-hosted Tailscale-compatible control server

Headscale implements an open-source, self-hosted control plane compatible with Tailscale clients, built on WireGuard overlay networking.

★ 46.2k⟳ todayBSD-3-Clause

Xray-core

Network platform built around Xray-core and REALITY

Project X centers on Xray-core, a configurable network core from the XTLS effort, alongside protocols such as REALITY and related tunneling and proxy features.

★ 43.2k⟳ todayMPL-2.0

V2Fly V2Ray Core

Configurable multi-protocol proxy platform for custom networks

Project V core implements V2Ray, a toolset for building proxy networks with many inbound and outbound protocols. It supports routing, load balancing, and obfuscation options.

★ 34.8k⟳ 2 days agoMIT

NetBird

WireGuard-based zero trust private networking platform

NetBird combines a peer-to-peer WireGuard overlay with centralized access control so teams connect machines and users without manual firewall and VPN gateway setup.

★ 31.3k⟳ todayBSD-3-Clause · open core
Open Source Alternative to:Twingate