Skip to content
United VPN
EN Get the app

How to set up a VPN on iPhone

Updated 5 min readFor iOS 15 and later

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.

  1. 1Install United VPN from the App Store. It’s free and doesn’t ask you to create an account.
  2. 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.
  3. 3Keep Optimal Location to get the fastest free server, or open the server list and pick a country.
  4. 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.
United VPN connected to a server in the United States on iPhone
United VPN connected on an iPhone. In the free version a short ad plays before you connect; Premium connects at once.

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.

  1. 1Open Settings › General › VPN & Device Management › VPN.
  2. 2Tap Add VPN Configuration.
  3. 3Tap Type and choose IKEv2, IPsec or L2TP, as your provider tells you.
  4. 4Enter the description, server address and login details you were given, then tap Done.
  5. 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 appiPhone Settings
What you needJust the appA server address and login from your provider
ProtocolsWhat the app supports. United VPN uses OpenVPNIKEv2, IPsec or L2TP
Choosing a serverIn the app; Optimal Location picks the fastestOne fixed server per configuration
Turning it on and offIn the app or with the VPN switch in SettingsWith the VPN switch in Settings
Best forEveryday privacy, public Wi-Fi, travelWork 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

  1. 1Disconnect and connect again, or pick another server.
  2. 2Switch the protocol to TCP in the server list. Some hotel, office and school Wi-Fi networks block UDP.
  3. 3On hotel or airport Wi-Fi, open the network’s login page and accept it before you connect.
  4. 4Check Settings › General › VPN & Device Management › VPN. If United VPN isn’t listed, open the app and allow the VPN configuration again.
  5. 5Turn off other VPN and DNS apps. iOS runs one VPN at a time, so the last one you turned on wins.
  6. 6Update United VPN from the App Store. Still stuck? Email support@unitedvpn.net with your iPhone model and iOS version.

FAQ

Do I need a VPN on my iPhone?
It helps on public Wi-Fi, when you don’t want your internet provider to see which sites you visit, and when a site shows different content by country. On your own home network it’s optional.
Is there a free VPN for iPhone?
Yes. United VPN is free with ads, with servers in the US, UK, Canada, Brazil and Switzerland. Premium removes ads and adds servers in 120+ countries.
How do I turn off a VPN on iPhone?
Tap the connect button in the VPN app, or turn off the VPN switch near the top of Settings. To remove a VPN completely, open Settings › General › VPN & Device Management › VPN, tap the info button next to it and tap Delete VPN.

Related guides

Ad blockingHow to block ads on iPhone in 2026Free toolsWhat is my IP: check that your VPN works
Public Wi-FiIs hotel Wi-Fi safe? What to check before you connectComing soon