English
简体中文繁體中文EnglishРусскийفارسی

Home › Guides

Six letters of instruction

Six illustrated WireGuard guides: the first tunnel, phones by QR, reaching your LAN, sending everything through a server, peers and maintenance.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Add and remove devicesAdding and removing WireGuard devices, pausing one, reloading without dropping others, limiting where a device may go, and replacing lost keys.
  6. Keep it runningKeep WireGuard working: start at boot, reading wg show, backing up, changing the port, dynamic DNS changes and updating on each system.

Where to start

You want toStart here
Try it for the first timeFirst tunnel
Add a phone to a serverPhone by QR
Reach the NAS at homeHome
Send all traffic through a serverEverything through

Letters answered

On the same round

Postcodes: WireGuard tutorial, how to use WireGuard, WireGuard configuration