Your own VPN server · WireGuard, Outline, AmneziaWG · 6 cities · Pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Get a VPN server

Device guide · iPhone and iPad

How do I set up WireGuard on an iPhone?

From the App Store to a working tunnel on an iPhone or iPad, with the configuration read as a QR code from the TunnelVPS server.

Last updated: · 4 min read

Quick answer

How do I set up WireGuard on an iPhone?

Install the official WireGuard app from the App Store, print the iPhone's client file as a QR code on the TunnelVPS server, and scan it from the app. iOS asks once to allow a VPN configuration; after that the tunnel switches on from the app or from Settings. The whole setup takes 5 steps.

In brief
  • App: WireGuard for iOS, from the App Store, as listed on wireguard.com.
  • Configuration: a QR code printed on the server with qrencode.
  • Permission: iOS asks once to add the VPN configuration.
  • Other options: Outline and AmneziaVPN also have iOS apps.

What are the steps on an iPhone?

WireGuard setup on iPhone and iPad against a TunnelVPS server, 5 steps
StepWhereWhat to do
1TunnelVPS serverInstall WireGuard and add a [Peer] for the iPhone, as the install guide shows.
2TunnelVPS serverPrint the iPhone's client file as a QR code with qrencode -t ansiutf8.
3iPhoneInstall WireGuard from the App Store.
4WireGuard appAdd a tunnel from a QR code, scan the code from the terminal, name the tunnel.
5iOS promptAllow the VPN configuration, then switch the tunnel on.

What does the iPhone need from the server?

One client file made only for this iPhone, holding its own private key and tunnel address. On the server, create the key pair for the phone, add its [Peer] block to wg0.conf with the next free address, such as 10.8.0.2/32, and reload the interface. The client file then points back to the server: its public key, its IP address from the TunnelVPS dashboard and the UDP port picked during the install.

Client file for the iPhone (dummy values in capitals)
[Interface]
PrivateKey = DEVICE_PRIVATE_KEY
Address = 10.8.0.2/32
DNS = 1.1.1.1

[Peer]
PublicKey = SERVER_PUBLIC_KEY
Endpoint = 203.0.113.10:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25

How does the configuration get onto the iPhone safely?

Scan it as a QR code straight from the SSH terminal, so the private key never travels by email or chat. The qrencode package prints the file as a block of characters that the camera reads from a laptop screen. Once the tunnel is saved on the phone, delete the client file from the server or keep it in a folder only root can read.

Install qrencode and print the iPhone's file
apt install qrencode
qrencode -t ansiutf8 < /etc/wireguard/clients/iphone.conf

Can the iPhone switch the tunnel on by itself?

Yes: the WireGuard app has on-demand rules that bring the tunnel up on chosen networks. A common rule turns the tunnel on for any Wi-Fi except the home network, and on mobile data. That keeps the phone covered in cafés, hotels and airports without a tap. The option sits in the tunnel's settings inside the app; the exact wording may change between app versions.

What if the iPhone is on a network that blocks WireGuard?

Switch that one phone to Outline or AmneziaWG, which both have iOS apps. Some hotel, campus or national networks drop WireGuard traffic. Outline uses Shadowsocks and AmneziaWG adds junk packets and changed headers, so deep packet inspection has a harder time spotting them. Both run on the same TunnelVPS server next to WireGuard; the protocol comparison explains the trade-offs.

Which other VPN apps run on an iPhone or iPad?

TunnelVPS read the WireGuard, Outline and Amnezia pages on 16 November 2026: all three list an iOS app, so an iPhone can run WireGuard, Outline or AmneziaWG against one server. Each app talks to the same TunnelVPS server, so one server can serve WireGuard to most devices and a second protocol to the one that needs it. The Outline VPS page and the AmneziaWG VPS page explain how each is installed on the server side.

Which TunnelVPS plan suits an iPhone user?

Solo ($2.25 a month on 12 months, 2 TB of traffic) covers one person with a phone and a laptop. Every plan has one IPv4 address, an IPv6 /64 and a monthly traffic allowance, and costs the same in all six cities. Solo, Duo and Home start at 3 months. The pricing page shows each rental length, and the traffic guide estimates a month of use by device.

iPhone questions

Is the WireGuard app for iPhone free?

wireguard.com lists the iOS app on the App Store as the official client. TunnelVPS charges nothing for it; the only cost is the server.

Does the same setup work on an iPad?

Yes. The iOS app runs on iPad. Give the iPad its own key pair and tunnel address rather than reusing the iPhone's file.

Does the tunnel drain the battery?

WireGuard sends little traffic when idle. The PersistentKeepalive = 25 line in the sample sends a small packet every 25 seconds; remove it if the phone does not need to stay reachable.

What if the phone is lost?

Delete its [Peer] block on the server and reload WireGuard. The phone's key stops working at once, and the other devices are not affected.

Verdict
  • WireGuard from the App Store is the simplest iPhone client: one QR code and one permission.
  • Keep Outline or AmneziaVPN on the phone for trips to networks that block WireGuard.
Sources (4)
  1. WireGuard: installation and client apps — WireGuard (read 2026-11-16)
  2. WireGuard: quick start (keys, peers) — WireGuard (read 2026-11-16)
  3. Outline: get started — Outline Foundation (read 2026-11-16)
  4. AmneziaVPN client: platforms and protocols — Amnezia (read 2026-11-16)

Get the server first

Solo carries 2 TB a month for a phone and a laptop, at $2.25 a month on 12 months.

From $2.25/mo on 12 months · no KYC

Get a server