Put your network in an envelope
One key per device, an address on the front, sealed and sent; only the other side can open it. Official downloads for every system, setup guides from zero, and a small machine that writes the config in your browser.
From10.8.0.1 · vps.example.org:51820

- PublicKey
- xTIBA5rboUvnH4ht…ZmCcrlA=
- AllowedIPs
- 10.8.0.2/32
- Endpoint
- wherever it goes
Choose your device
Build it step by step
- The first tunnelBuild a first WireGuard tunnel with a VPS and a PC: keys, two config files, the UDP port, starting it, and checking with wg show and ping.
- Phone by QRTurn a WireGuard client config into a QR code and scan it: qrencode in the terminal, ready codes in OpenWrt and wg-easy, and how to stay safe.
- Use your home network from outsideReach your home LAN from outside with WireGuard: the router or a small box as server, AllowedIPs, forwarding, firewall, port mapping and dynamic DNS.
- Everything through the tunnelRoute everything through WireGuard: AllowedIPs 0.0.0.0/0, forwarding and NAT on the server, DNS, IPv6 leaks and how to check the result.
- Add and remove devicesAdding and removing WireGuard devices, pausing one, reloading without dropping others, limiting where a device may go, and replacing lost keys.
- Keep it runningKeep WireGuard working: start at boot, reading wg show, backing up, changing the port, dynamic DNS changes and updating on each system.
Three things and it works
| Thing | What it is | Where from |
|---|---|---|
| A pair of keys | Keep the private one, hand out the public one | wg genkey, or the generator |
| An address to write to | The other side's public IP and UDP port | Your server, a home line with a public IP, or a provider |
| A routing list | AllowedIPs: which addresses go to whom | Write it yourself, here is how |
One handshake and the mail starts
There is no login, no account and no "connecting". It shakes hands when there is something to send and stays silent otherwise, so a port scan cannot see it.
Often asked
Does WireGuard come with servers?
No. It is a protocol and an app; your configuration decides where it goes: your VPS, your router at home, or a file from a provider.
AdLuoboyunRather not build one? Try a ready-made line: 1 GB of trial traffic on sign-up, valid 24 hours, for Clash / Mihomo.Try it ready-madeDo I need an account?
No. The official apps have no accounts and cost nothing.
How is it different from an ordinary VPN app?
A VPN app bundles servers, accounts and an interface. WireGuard gives you the tunnel only, and many VPN services run on it underneath.
Three counters
- Generate configsGenerate WireGuard config files online: enter the server, network and number of devices; keys are made in your browser for wg0.conf and each device.
- Check a configCheck a WireGuard config online: key format, swapped public keys, overlapping AllowedIPs, missing ports and DNS. It runs in the browser, no upload.
- Work out the MTUWork out WireGuard MTU and MSS for your line, with ping tests for Windows, macOS and Linux, to fix half-loaded pages and stuck downloads.
Letters answered
FixesThe letter went out, no reply cameWireGuard is active but shows no latest handshake and 0 bytes received. UDP ports, security groups, swapped keys, clock, endpoint and carrier blocks.
SpeedToo thick for the letter slotPing works over WireGuard but pages, SSH or images hang? It is usually the MTU. How to measure the right value with ping and clamp the MSS.
HomeA house without a numberNo public IPv4 at home? Check for CGNAT, connect over IPv6, relay through a VPS with WireGuard, or use a tool that punches holes.
SpeedA barrier on the roadWireGuard fine by day, slow at night or dropping? UDP may be throttled. How to tell, and what a new port, another line or a TCP wrapper does.
CompareTwo letters on the scaleWireGuard and OpenVPN compared: speed, encryption, setup, TCP support, authentication, the official benchmark and its limits, and who each suits.
CompareWire it yourself or ask the exchangeTailscale and NetBird run on WireGuard. What they add, what plain WireGuard lacks, and how to choose by devices, public IP and effort.
Delivery directory
- WireGuard download
- WireGuard Windows
- WireGuard Mac
- WireGuard APK
- WireGuard iPhone
- WireGuard Linux install
- WireGuard OpenWrt
- WireGuard tutorial
- WireGuard server setup
- WireGuard QR code
- WireGuard home network
- WireGuard full tunnel
- WireGuard add peer
- wg show explained
- WireGuard tools
- WireGuard config generator
- WireGuard config checker
- WireGuard MTU calculator
- WireGuard blog
- WireGuard no handshake
- WireGuard slow pages
- WireGuard without public IP
- WireGuard throttled
- WireGuard vs OpenVPN
- WireGuard vs Tailscale
- PersistentKeepalive 25
- WireGuard Windows error
- wg-easy install
- WireGuard multiple devices
- WireGuard client
- WireGuard installer
Postcodes: WireGuard, WireGuard guide, WireGuard VPN, WireGuard setup