How to Set Up a VPN on Your Phone Fast With a WireGuard QR Code
To set up a WireGuard VPN on an iPhone or Android phone in under two minutes, install the free official WireGuard app from the App Store or Google Play, tap the + button, choose "Create from QR code," and scan your provider's tunnel QR code. The app imports your keys and endpoint automatically without installing a proprietary 200MB commercial VPN client.
That is why WireGuard is such a good fit for phones. It is simple, modern, and built around a small set of settings instead of a giant menu of knobs. Most people never need to touch ports, ciphers, certificates, or manual routing.
How to Use a VPN With a WireGuard QR Code Without Installing a Commercial VPN App
iOS, Android, macOS, and Windows cannot configure a WireGuard tunnel from the default camera app alone because the operating system needs a WireGuard protocol handler. To connect without installing a 200MB commercial VPN suite, install the free, open-source official WireGuard client (under 15MB), tap the + button, select "Create from QR code" (or import a standard .conf text file), and toggle the tunnel on.
- Install the official WireGuard client. Download the open-source WireGuard app from the iOS App Store, Google Play, macOS App Store, or
wireguard.com/install. - Add your tunnel via QR code or
.conffile. Tap+→ "Create from QR code" on mobile, or click "Import tunnel(s) from file" on desktop. - Name the tunnel clearly. "99¢ VPN" or "Travel Wi-Fi" is easier to spot in your phone settings than "wg0".
- Approve the OS VPN prompt and toggle ON. iOS and Android will ask permission to add a system VPN configuration the first time you connect.
- Verify your encrypted IP. Check that your public IP matches the VPN server location.
What is inside a WireGuard QR code or .conf file?
A WireGuard QR code is simply a plain-text .conf configuration file encoded as an image so you do not have to type cryptographic keys on a phone keyboard. Every standard WireGuard configuration contains two sections — [Interface] (your device's private key, tunnel IP, and DNS resolver) and [Peer] (the VPN server's public key, endpoint IP/port, and allowed traffic routes):
[Interface]
PrivateKey = <your-device-private-key>
Address = 10.66.66.2/32
DNS = 1.1.1.1
[Peer]
PublicKey = <vpn-server-public-key>
Endpoint = us-east.99centvpn.com:51820
AllowedIPs = 0.0.0.0/0, ::/0
On Linux desktops (Ubuntu, Fedora, Debian with NetworkManager), you do not even need a separate client app: run nmcli connection import type wireguard file ./99centvpn.conf or import the .conf file directly in GNOME/KDE Network Settings.
.conf file to a third-party online QR decoder website. It contains your tunnel's PrivateKey. Scan it directly inside the official WireGuard app.
Should you turn on always-on VPN?
Android and iOS support "On-Demand" or "Always-On" WireGuard activation, which automatically enables the encrypted tunnel whenever your phone joins a Wi-Fi or cellular network. Turning on On-Demand for Wi-Fi protects your phone automatically at hotels, cafes, and airports without draining battery while your screen is off.
The tradeoff is that a captive portal login page at an airport or hotel sometimes needs you to sign into the Wi-Fi before the VPN tunnel comes up. If a hotel login screen will not load, flip the WireGuard toggle off for 10 seconds, click "Connect" on the hotel splash page, and flip WireGuard back on.
The bottom line
A phone VPN setup should not require a tutorial playlist or a 2-year contract. If you want a clean WireGuard QR code and .conf file ready in under two minutes, compare the cheapest WireGuard VPNs without a 2-year contract or grab 99¢ VPN Basic for $11.88/year (or $1.99 month-to-month).
Written by the person who runs 99¢ VPN. Not a security researcher. Just someone who thinks phone privacy should take minutes, not an afternoon.