Copy · paste · wg-quick up

WireGuard configs you can actually paste.

Complete wg0.conf recipes — server and client side by side — for road-warrior, full-tunnel, split-tunnel, site-to-site and home-LAN setups.

15 recipes

WireGuard is simple — until AllowedIPs and NAT aren't.

Each recipe gives matching server and client wg0.conf files for one real scenario, every placeholder labelled, the PostUp firewall lines included, and the wg show check to confirm it.

FAQ

Are these WireGuard configs free?

Yes. Every recipe is free to read and copy, with no account or paywall.

Where do these configs go?

In /etc/wireguard/wg0.conf on the server and each client; chmod 600, then "wg-quick up wg0".

Connected but no internet?

Full-tunnel needs IP forwarding + a PostUp MASQUERADE rule on the server, and AllowedIPs = 0.0.0.0/0 on the client.

Connection drops when idle?

Add PersistentKeepalive = 25 to the [Peer] behind NAT (usually the client).

Open the full interactive site ↗