How to Set Up WireGuard on iPhone in 2026: A Step-by-Step Guide
Guides

How to Set Up WireGuard on iPhone in 2026: A Step-by-Step Guide

Updated 2 Dec 2026: plain WireGuard often fails to connect now. At RuSolv it is only for routers that support only plain WireGuard (TP-Link, Cudy, MikroTik and others). On iPhone and iPad, connect over VLESS in the Karing app (guide); on a paid plan there is also AmneziaWG (guide).

WireGuard is the most modern VPN protocol out there — faster than OpenVPN, simpler to configure, and supported on every platform. On iPhone, getting connected takes about a minute once you know the steps.

This guide covers every way to add a configuration: via QR code (the fastest option), via a .conf file (if one was sent to you), or manually (if you need to type in the parameters yourself).

What you'll need

  • An iPhone or iPad running iOS 15 or later
  • The WireGuard app (free, official)
  • A VPN configuration from your provider, in one of these formats:
    • QR code
    • .conf file
    • Plain-text parameters

Time required: 2 minutes.

Step 1 — Install WireGuard

Open the App Store and search for the WireGuard app; if you can't find it, write to support. The developer is WireGuard Development Team, and the icon is a blue dragon.

Apps with similar names are not uncommon. Only install the official one from WireGuard Development Team — the others may not be safe to use.

Download and open the app. On first launch, it will ask permission to add VPN configurations — tap "Allow."

Step 2 — Add a configuration

Tap "Add a Tunnel" (or the "+" icon in the top-right corner). You'll see three options:

  1. Create from QR code — scan a code from another device
  2. Create from file or archive — import a .conf file
  3. Create from scratch — enter parameters manually

Option A: Scan a QR code

The fastest method. If your VPN provider shows a QR code in your dashboard:

  1. Tap "Create from QR code"
  2. Allow camera access
  3. Point your camera at the QR code
  4. Enter a tunnel name (anything you like)
  5. Tap "Save"

Done — the tunnel is added.

Option B: Import a .conf file

If you were sent a .conf configuration file:

  1. Save the file to iCloud Drive or the Files app
  2. In WireGuard, tap "Create from file or archive"
  3. Locate and select the file
  4. The tunnel is imported automatically, using the name from the file

You can send the configuration file from a computer via AirDrop, iCloud, Telegram, or email. Once you receive it, tap "Share → Copy to WireGuard" and the tunnel will import automatically.

Option C: Manual entry

Only use this if the other options aren't available. You'll need: PrivateKey, Address, and DNS, plus PublicKey, Endpoint, and AllowedIPs for the peer — all of which your provider should supply.

  1. Tap "Create from scratch"
  2. Enter a tunnel name
  3. Fill in the Interface section (PrivateKey, Address, DNS)
  4. Tap "+ Add Peer"
  5. Fill in the Peer section (PublicKey, Endpoint, AllowedIPs)
  6. Tap "Save"

Step 3 — Connect to the VPN

Once the tunnel is added, you'll see it in the list with a toggle switch next to its name.

Tap the toggle so it turns green. iOS will prompt you to allow adding a VPN configuration — tap "Allow" and confirm with your device passcode or Face ID.

Within a second or two, the connection will establish, and a VPN icon will appear in the iPhone status bar — a sign that everything's working.

Step 4 — Verify the VPN is working

Open a browser and go to whatismyipaddress.com. If the IP address shown is different from your usual one (and the country matches your VPN's server location), everything is set up correctly.

Also check that:

  • Websites load without delays
  • Mobile data routes through the VPN too, not just Wi-Fi
  • Apps continue to work normally

Common issues

"Unable to connect to server"

The most common causes:

  • An incorrect PublicKey or PrivateKey (often copied with an extra space)
  • A wrong Endpoint (server address)
  • The server is unreachable — check your provider's dashboard

Make sure you've imported the current configuration. If it's more than a few weeks old, request a new one.

VPN connects, but there's no internet

Check the following:

  1. AllowedIPs = 0.0.0.0/0, ::/0 — without this, traffic won't route through the VPN
  2. DNS is set — 1.1.1.1, 8.8.8.8 in the Interface section
  3. MTU — if the issue persists, try adding MTU = 1420

VPN disconnects on its own

This usually happens because of:

  • Low Data Mode on cellular — disable it in your cellular settings
  • On-Demand VPN misconfigured — disable it in the WireGuard tunnel settings
  • An unstable network connection — try AmneziaWG instead of standard WireGuard

Configuration won't import

Make sure the file is actually a .conf file (not .txt or an archive). Open it in a text editor — it should start with [Interface].

If everything looks right but it still doesn't work, try importing through the Files app after first copying the file to iCloud Drive.

Slow speeds

Standard WireGuard runs at the full speed of your connection. If speeds are low:

  • Check your baseline speed without the VPN (Speedtest)
  • Try a different server location
  • If speeds are inconsistent, try AmneziaWG for more stable throughput

Turning the VPN on automatically

WireGuard supports On-Demand — automatically enabling the VPN under certain conditions. This is useful if you want the VPN to activate on public Wi-Fi but not at home.

  1. Open the tunnel's settings (tap its name)
  2. Enable "On-Demand"
  3. Choose a condition: "Any Wi-Fi," "Specific SSIDs," or "Cellular"
  4. Save

The VPN will now turn on and off automatically.

RuSolv on iPhone

  • VLESS (Reality) is the main option on iPhone and iPad: the Karing app (developer Supernova Nebula LLC), one subscription link for every location. Also on the free plan. Guide
  • AmneziaWG is on paid plans, in the AmneziaWG app. Guide
  • Plain WireGuard at RuSolv is only for routers that support nothing else.

What's next

You now have WireGuard up and running on your iPhone. A few more resources that might help:

RuSolv runs on VLESS (Reality) and AmneziaWG. The free plan is one VLESS device, 10 GB a month, no card needed.

Try RuSolv VPN

A VPN for phones, computers and routers: VLESS and AmneziaWG. Try it free.

Connect in Telegram