01
What a WireGuard config is
A WireGuard config is a short plain text file with two sections. The Interface section describes your end of the tunnel. The Peer section describes the server. There are no certificates and no inline blocks, so the whole connection usually fits on a dozen lines. PulseVPN hands you that file directly rather than wrapping it in an application, which is why any WireGuard client will read it.
02
Install a client for your platform
Install the WireGuard application on Windows and macOS from the official distribution channel for that platform. On Linux, install the wireguard-tools package from your distribution, which provides the wg and wg-quick commands. Kernels from 5.6 onward carry the WireGuard module in tree, and older kernels need a separate module package alongside the tools. On Android and iOS, install the official WireGuard application from the store.
03
Download your config
Log into your PulseVPN dashboard and generate the config for the server you want. Save it somewhere you control rather than a shared downloads folder. The file contains your private key, so treat it exactly as you would a password. An account holds up to three WireGuard configs, so plan the second and third before you generate them. A spare tunnel in another region is much easier to have already than to fetch from a network that is blocking you.
Generating a config
04
Open the file and look at it once
Open the config in any plain text editor before importing it. You should see a line reading [Interface], then a handful of key equals value lines, then a line reading [Peer] and a few more. Both section headers must be present. A file with only one of them will import and then do nothing useful. Ten minutes spent reading the next two steps saves most of the troubleshooting that follows a bad import.
05
What the Interface fields do
PrivateKey is your end of the key pair, and it never leaves the device. Address is the address the interface takes inside the tunnel, written with a prefix length such as /32 for a single client address. DNS is the resolver the client uses while the tunnel is up, and a PulseVPN config sets it to 1.1.1.1. MTU is optional and a PulseVPN config omits it, so your client derives the value and you add a line only when a path forces one. Do not paste a PrivateKey into a support ticket or a chat window.
MTU tuning and split tunneling
06
What the Peer fields do
PublicKey identifies the server and must match exactly, since a single wrong character produces silence rather than an error. Endpoint is the server address and UDP port the client sends to. AllowedIPs does two jobs at once: it decides which destinations get routed into the tunnel, and it decides which source addresses are accepted back out of it. A PulseVPN config sets it to 0.0.0.0/0 and ::/0, which is a full tunnel. PersistentKeepalive sends a small packet on a fixed interval so a NAT mapping stays open, and PulseVPN sets it to 25 seconds.
07
Understand AllowedIPs before you edit it
AllowedIPs is the single field most likely to change behaviour you did not intend to change. Setting it to 0.0.0.0/0 and ::/0 sends every destination through the tunnel, which is what a full tunnel means. Narrowing it to specific ranges creates a split tunnel, where everything else leaves the machine unencrypted. That is a legitimate choice and it silently disables leak protection you may have been relying on. Decide which of the two you want before importing rather than afterwards.
AllowedIPs and split tunneling
08
Import on Windows
Launch the WireGuard application and choose Add Tunnel, then Import tunnel from file, then select your .conf file. The tunnel appears in the list with its configuration shown beside it. Activate it and watch for a handshake timestamp rather than trusting the toggle. The client copies the contents into its own storage, so the original file is no longer required once the tunnel appears. Keep it anyway, because re-importing is faster than regenerating.
09
Import on macOS
The WireGuard application on macOS uses the same import flow from its menu bar item, and it will ask for permission to add a VPN configuration. Grant it, or the tunnel imports and then refuses to activate. If you installed wireguard-tools with Homebrew instead, you get wg and wg-quick on the command line and the tunnel appears as a utun interface. Both approaches work, and mixing them on one machine makes it harder to tell which one is active.
10
Bring the tunnel up on Linux with wg-quick
Copy the config to /etc/wireguard and name it after the interface, for example wg0.conf. Set the permissions with chmod 600 so only root can read the private key. Bring it up with sudo wg-quick up wg0, where the argument is the filename without its extension. Take it down again with sudo wg-quick down wg0. Enable wg-quick@wg0 through systemd only once you have confirmed the tunnel works by hand.
Importing a config file
11
Know what wg-quick does on your behalf
wg-quick is a shell wrapper around the lower level wg command, and it performs several steps you did not write. It creates the interface, assigns the Address, and derives routes from AllowedIPs. Where AllowedIPs covers the default route, it uses ip rule policy routing instead of installing a plain default route. It hands the DNS value to resolvconf, so that line does nothing unless a resolvconf implementation is installed. On a remote host reached over SSH, bringing up a full tunnel reroutes your own return path and can drop the session immediately. Keep console access open, or do not run it remotely at all.
DNS leak protection setup
12
Import on Android and iOS
Transfer the .conf file to the device and use the import option in the WireGuard application. The PulseVPN dashboard has no QR code export, so the file itself is what you move. Avoid sending it through chat applications, since several of them rewrite plain text and break the key lines. Grant the VPN permission prompt when the operating system shows it. Name each tunnel after its region, because unlabelled tunnels become guesswork once you keep a spare.
13
Verify with wg show and read the output
Run wg show on Linux or macOS, or read the same values in the desktop application. The endpoint line confirms which server you reached. The allowed ips line confirms what the tunnel is routing. The latest handshake line gives the time of the last successful key exchange. The transfer line gives received and sent byte counts. Run the command twice a few seconds apart, since a moving counter proves more than a single snapshot does.
14
Read the two failure states correctly
No handshake at all means the peer never answered, and wg show omits the latest handshake line entirely in that state. The usual causes are a wrong Endpoint, a network blocking UDP, or a mismatched PublicKey. A recent handshake with counters that barely move means the tunnel is up and something downstream is wrong, usually MTU, AllowedIPs, or DNS. Those two states have almost nothing in common, so establish which one you are in before applying any fix.
Handshake completes but no traffic flowsHandshake never completesConnection troubleshooting
15
Confirm that traffic actually uses the tunnel
Check your public IP address and confirm it matches the server region you chose. Then check which resolvers answer your lookups, because a changed IP address proves nothing about DNS. Disconnect and confirm the address returns to your own. Do this once per new config rather than once per device. A tunnel that comes up cleanly and routes nothing is the failure that goes unnoticed longest.
DNS leak protection setupKill switch setup for Windows, macOS and Linux