How to set up a VPN on iPhone
Short answer
To set up a VPN on iPhone, install a VPN app, tap Allow when iOS asks to add a VPN configuration, then tap connect. The app does the rest. You only need to set up a VPN in iPhone Settings by hand if your work or school gave you server details.
Method 1: Set up a VPN on iPhone with an app
Most VPN services, including United VPN, come as an app. The app adds a VPN configuration to your iPhone, picks a server and turns the connection on and off. United VPN uses OpenVPN, which iPhone Settings can’t set up by itself, so you set it up through the app.
- 1Install United VPN from the App Store. It’s free and doesn’t ask you to create an account.
- 2Open the app. On the first launch iOS asks to add a VPN configuration: tap Allow, then confirm with Face ID, Touch ID or your passcode.
- 3Keep Optimal Location to get the fastest free server, or open the server list and pick a country.
- 4Tap the connect button. When it says Connected, all your iPhone traffic goes through the VPN. Open What is my IP to check: it should show the server’s country.

Method 2: Add a VPN in iPhone Settings
Use this if your company, school or VPN provider gave you a server address and a login. iPhone Settings supports three VPN types: IKEv2, IPsec and L2TP.
- 1Open Settings › General › VPN & Device Management › VPN.
- 2Tap Add VPN Configuration.
- 3Tap Type and choose IKEv2, IPsec or L2TP, as your provider tells you.
- 4Enter the description, server address and login details you were given, then tap Done.
- 5Turn on the Status switch to connect.
Which method should you use?
For everyday use, an app is simpler: it picks the server and keeps the connection on. Set up a VPN in Settings only when someone gave you the server details.
| VPN app | iPhone Settings | |
|---|---|---|
| What you need | Just the app | A server address and login from your provider |
| Protocols | What the app supports. United VPN uses OpenVPN | IKEv2, IPsec or L2TP |
| Choosing a server | In the app; Optimal Location picks the fastest | One fixed server per configuration |
| Turning it on and off | In the app or with the VPN switch in Settings | With the VPN switch in Settings |
| Best for | Everyday privacy, public Wi-Fi, travel | Work and school networks |
VPN settings on iPhone worth knowing
- Once a VPN is installed, a VPN switch appears near the top of Settings. It turns the last used VPN on and off.
- Settings › General › VPN & Device Management › VPN lists every VPN configuration on the phone. Tap the info button to see details or delete one.
- iOS runs one VPN at a time. In United VPN, the VPN, the DNS modes and Block in All Apps share one configuration, so you allow it only once.
- United VPN connects over UDP (Fast) by default. Switch to TCP (Safe) in the server list if a network blocks UDP.
- The connection stays on when the screen is off and comes back when your iPhone moves from mobile data to Wi-Fi.
- IP lookup tools can show a city next to the one you picked: that is the IP database, not the VPN. What location your VPN shows explains how to read the result.
VPN not working on iPhone? Try this
- 1Disconnect and connect again, or pick another server.
- 2Switch the protocol to TCP in the server list. Some hotel, office and school Wi-Fi networks block UDP.
- 3On hotel or airport Wi-Fi, open the network’s login page and accept it before you connect.
- 4Check Settings › General › VPN & Device Management › VPN. If United VPN isn’t listed, open the app and allow the VPN configuration again.
- 5Turn off other VPN and DNS apps. iOS runs one VPN at a time, so the last one you turned on wins.
- 6Update United VPN from the App Store. Still stuck? Email support@unitedvpn.net with your iPhone model and iOS version.