How to Set Up a VPN on iPhone, Step by Step
Setting up a VPN on an iPhone takes a few minutes. There are two routes: a VPN app such as WireGuard, or the built-in IKEv2 option that needs no app.
Last updated October 18, 2026 · By Harbor Privacy
Option 1: A VPN App (WireGuard)
Option 2: Built-In IKEv2 (No App)
Some VPNs provide an IKEv2 profile you can install straight into iOS. Open the profile, install it in Settings, then turn on the VPN from Settings, General, VPN & Device Management. It is the quickest setup, though it is easier for a strict network to block.
Make It Connect Automatically
In the WireGuard app, open the tunnel, choose On-Demand Activation, and pick when it should run: on Wi-Fi, on cellular, or both. You can exclude your home Wi-Fi by name so the VPN stays off there. This keeps you protected without remembering to switch it on.
Check That It Works
Using Harbor VPN
Sign in at vpn.harborprivacy.com, add a device, pick a protocol, and scan the QR code. Each device gets its own key, so your iPhone, iPad, and laptop are set up separately. See Harbor VPN.
Related guides: Which VPN protocol to use, New iPhone privacy setup, VPN won't connect, VPN kill switch, Split tunneling.
Common Questions
Scan a QR code and connect in about a minute. Four protocols, one key per device. See Harbor VPN.