Infrastructure & Operations · Networking & Connectivity
WireGuard
A compact layer 3 VPN tunnel
WireGuard is a layer 3 VPN protocol and implementation for encrypted UDP tunnels between configured peers. It targets administrators, developers, and operators who need a small cross-platform VPN. The main tools use GPL-2.0-only, while several components use MIT. WireGuard has no official hosted VPN service, subscription, or managed control plane.
Key facts
- License
- GPL-2.0-only for wireguard-tools; MIT for wireguard-go and wireguard-windows
- Main language
- C, Go, and platform-specific client code
- Maintainer
- Jason A. Donenfeld and the WireGuard project
- First released
- 2016-06-28 public launch
- Latest release
- wireguard-tools v1.0.20260223, February 23, 2026
- GitHub stars
- wireguard-go: 4,229; wireguard-tools: 727; wireguard-windows: 2,855, recorded in 2026
- Hosted option
- No official hosted VPN service or hosted pricing
What WireGuard is
WireGuard began publicly in 2016 under Jason A. Donenfeld and remains maintained by the WireGuard project. Its authoritative repositories live on git.zx2c4.com, with GitHub mirrors for several components. The project describes a general-purpose VPN for embedded interfaces through supercomputers, and its public launch announcement is dated June 28, 2016. Adoption is represented across separate repositories, including 4,229 stars for wireguard-go, 2,855 for wireguard-windows, and 727 for wireguard-tools in the GitHub figures. WireGuard is not a hosted VPN provider, and no company-backed hosted service or official subscription is identified. The project has implementations for Linux, Windows, macOS, BSD, iOS, and Android, with different components carrying different licenses.
How it works
A typical WireGuard workflow starts by generating a private key and deriving its public key for each peer. An administrator then assigns tunnel addresses, records peer public keys, sets allowed IPs, optionally adds an endpoint and persistent keepalive, and opens UDP through the relevant firewall. Allowed IPs determine both routing and cryptographic peer selection. On Linux, the administrator can use wg to inspect or update interfaces and wg-quick to bring configuration files up or down. The tunnel carries layer 3 traffic, leaving DNS, firewall policy, address allocation, and server provisioning to the operator. Clients connect directly to configured peers, while roaming endpoints can be learned when authenticated packets arrive.
Architecture and recent releases
WireGuard uses a layer 3 protocol over UDP and a deliberately constrained cryptographic design based on NoiseIK, Curve25519, ChaCha20-Poly1305, and BLAKE2s. Linux has an in-kernel implementation, while wireguard-go supplies a Go userspace implementation where kernel support is unavailable. wireguard-tools provides wg and wg-quick across Linux, OpenBSD, FreeBSD, macOS, Windows, and Android. The tools release v1.0.20260223 was announced February 23, 2026, with updates for MTU selection, resolvconf migration, Docker compatibility, service dependencies, and incremental configuration handling. The project is split across platform repositories rather than a single release train, so a tools version does not describe every WireGuard implementation. WireGuard is a layer 3 VPN protocol and implementation for encrypted UDP tunnels between configured peers.
License and pricing
wireguard-tools is licensed under the GNU General Public License version 2.0. The wireguard-go and wireguard-windows repositories state MIT licensing, so redistribution and commercial use depend on the component being shipped. The licenses do not impose a hosted-service subscription, and WireGuard does not publish an official hosted VPN product or pricing plan. Operators instead pay for their own servers, bandwidth, addresses, and administration. This separation is useful for infrastructure teams that want protocol software without a vendor account, though it also means there is no included control plane, relay network, support contract, dashboard, billing system, or managed endpoint. Packaging through operating-system repositories can add distribution-specific maintenance and release timing.
Limitations and how it compares
WireGuard leaves key lifecycle, routing, firewall configuration, DNS, monitoring, and server availability to the operator. OpenVPN offers a broader traditional VPN feature set, strongSwan and Libreswan target IPsec deployments, while Tailscale and NetBird add management layers around WireGuard-style connectivity. WireGuard itself has no official hosted service, web administration plane, identity directory, or built-in multi-user policy system. Its separate repositories also require license review when distributing multiple components together. The design suits people who want a small, direct encrypted tunnel and can manage peers and infrastructure themselves. Choose WireGuard for server-to-server links, remote access, or embedded deployments where direct configuration matters more than centralized administration.
Main features
- Public-key peer routing. Allowed IPs associate tunnel addresses with peer public keys and select the cryptographic peer for each routed packet.
- UDP layer-three tunnel. The protocol carries encrypted layer 3 traffic over UDP and operates across ordinary routed networks.
- Constrained cryptography. The protocol uses NoiseIK, Curve25519, ChaCha20-Poly1305, and BLAKE2s-based cryptographic primitives.
- Cross-platform clients. Project implementations support Linux, Windows, macOS, iOS, Android, FreeBSD, and OpenBSD.
- Command-line configuration. The wg and wg-quick utilities configure and manage WireGuard interfaces on supported platforms.
- Linux kernel implementation. Linux includes a kernel implementation, while wireguard-go supplies a Go userspace implementation elsewhere.
Self-hosting WireGuard
Self-hosting requires installing WireGuard and its tools on a Linux server or another supported operating system. The operator generates keys, defines peers and allowed IPs, opens UDP in the firewall, and arranges routing and DNS. Packages are available through operating-system repositories, while platform clients and source builds cover other systems. WireGuard itself has no required PostgreSQL, Redis, object storage, dashboard, or minimum hardware specification. The operator supplies the machine, bandwidth, addresses, monitoring, access policy, backups, and key rotation process. The tools release notes include fixes affecting MTU selection, DNS handling, Docker compatibility, and configuration synchronization.
Strengths
- The protocol has a small cryptographic design.
- Encrypted UDP transport supports low-overhead tunnels.
- Public-key configuration keeps peer definitions direct.
- Official implementations cover major operating systems.
Drawbacks
- There is no official hosted service.
- Operators must manage routing, keys, and firewall policy.
- Components use more than one open-source license.
What teams replace with it
Teams usually evaluate WireGuard when they want to move off OpenVPN, IPsec VPN tunnels.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is WireGuard a VPN provider?
No. WireGuard is a protocol and software implementation for encrypted tunnels. It does not provide exit servers, user accounts, bandwidth, or subscriptions. Users configure their own server and peers, or choose a separate VPN provider that supports WireGuard. The project supplies tunnel software, not hosted network infrastructure.
Where is the official WireGuard code hosted?
The upstream project uses git.zx2c4.com and identifies GitHub repositories such as wireguard-tools and wireguard-go as mirrors. The authoritative tools repository contains the wg and wg-quick utilities. GitHub remains useful for browsing mirrors and repository metadata, while the project directs users to git.zx2c4.com for upstream source.
What license does WireGuard use?
Licensing depends on the component. wireguard-tools uses GPL-2.0-only, while the wireguard-go and wireguard-windows repositories state MIT licensing. Commercial use is permitted under those licenses, subject to their respective conditions. A product should review every WireGuard repository it distributes instead of treating the project as one uniformly licensed codebase.
When was WireGuard released?
WireGuard's public launch announcement is dated June 28, 2016. Earlier development and a September 2015 kernel-community presentation predate that announcement. The public launch date therefore marks the project's announced availability, not necessarily the beginning of design or implementation work.
Does WireGuard run in the Linux kernel?
Yes. WireGuard was initially released as a Linux kernel implementation, and the project describes that origin. wireguard-go is a separate Go userspace implementation for systems where a kernel implementation is unavailable or unsuitable. The command-line tools configure either implementation through platform-specific interfaces.
Similar projects to compare
- OpenVPNGPL-2.0OpenVPN is community-supported open-source VPN software for administrators who need routed or bridged tunnels, certificate authentication, and TCP or UDP transport. The Community edition uses the GPL. Access Server is separate proprietary software with administration, portals, clustering, authentication integrations, and commercial support, plus a free tier for two simultaneous connections.
- TailscaleBSD-3-ClauseTailscale builds private networks from WireGuard connections, with open-source node software and a hosted coordination control plane. Nodes exchange keys and network metadata through coordination, then establish encrypted peer-to-peer data paths when possible. The main repository contains tailscaled and the tailscale CLI, while some GUI and service components remain separate. Tailscale offers a free Personal plan for up to six users and paid plans.
- NetbirdBSD-3-Clause and AGPL-3.0 by componentNetBird is an open-source networking platform that combines peer-to-peer WireGuard connectivity with centralized access control, private DNS, routing, SSH, and identity integrations. Its BSD-3-Clause and AGPLv3 components support self-hosting, while NetBird Cloud offers hosted plans, including a free tier for up to five users and 100 machines.
- DefguardAGPL-3.0 for open-source code, Enterprise License for enterprise codeDefguard is a self-hosted WireGuard VPN and identity platform for teams that need MFA, SSO, directory integration, and access policies under their control. Its open-source code uses AGPL-3.0, while enterprise code uses a separate Enterprise License. No hosted service is listed. Open Source is free, Business is free for up to 10 users and one location, and Enterprise uses custom pricing.
- FireZoneApache-2.0 and Elastic License 2.0, with third party original licensesFirezone is a zero trust access platform for teams connecting people to private applications, databases, servers, and subnets. Firezone, Inc. maintains it, and the project combines Apache License 2.0 and Elastic License 2.0 components with third party licenses. A hosted service offers a free Starter tier, paid Team and Business plans, and custom Enterprise pricing.
- PangolinAGPL-3.0 for Community Edition; Fossorial Commercial License for Enterprise EditionPangolin is an open-source SASE platform for teams that need WireGuard networking, identity-aware application access, privileged access management, and an AI gateway. Fossorial maintains it for self-hosted and hosted deployments. Community Edition uses AGPL-3, while Enterprise uses the Fossorial Commercial License. Pangolin Cloud offers a free Basic tier and paid plans from $4 per user monthly.