wireguard-tools provides wg and wg-quick utilities to configure WireGuard tunnels on Linux, BSD, macOS, Windows, and Android. WireGuard encapsulates IP traffic over UDP with simple public-key peers.
Overview
This package supplies the main userspace programs for WireGuard, including wg for fine-grained control and wg-quick for applying concise configuration files similar to static network setup scripts. WireGuard itself is a VPN that exchanges public keys between peers and encrypts IP packets over UDP.
A tunnel appears as a network interface such as wg0 that you address and route like any other NIC. Each peer is associated with allowed tunnel IP ranges and a remote UDP endpoint; sending and receiving applies modern primitives from the Noise framework and related ciphers.
The tools build with a C compiler and standard libc, installing binaries, manual pages, and optional bash completion, wg-quick, and systemd unit files depending on detected environment. Contrib examples illustrate fuller integrations but are not required for basic use.
WireGuard is cross-platform beyond Linux and aims for a small, reviewable codebase compared with larger IPsec or OpenVPN stacks, with key distribution handled out of band like SSH keys.
Key features
- wg interface configuration utility
- wg-quick config helper
- UDP encapsulated VPN tunnels
- Public-key peer authentication
- Cryptokey routing for allowed IPs
- Cross-platform tool support
- Optional systemd wg-quick units
Use cases
- Site-to-site encrypted networking
- Remote access VPN for devices
- Lightweight tunnel on embedded hosts
- Scripted interface bring-up