How to Set Up a VPN on an iPhone or iPad

The OpenVPN Connect app is the easiest way to set up a VPN on iPadOS or iOS if a dedicated app isn't available. You can also add a new VPN connection without an app. Both methods are easy to understand and shouldn't take more than five minutes.


Some VPN providers don't have an app for iPhone or iPad but instead let you set up the VPN yourself. This means instead of logging into the company's app, you're given specific server details that you use to create the connection yourself.

The top VPNs in the industry don't make you do this because they offer their own official app. Nevertheless, there are two ways to go about it:

Option #1: OpenVPN App

This method works if the VPN provides OpenVPN files. These screenshots were taken on iPadOS 14 but the app also works on iPhone and iPod touch (iOS 9.0 and newer).

  1. Choose a configuration file from the VPN provider.
OpenVPN configuration files on ExpressVPN's website
OpenVPN files from ExpressVPN
  1. Install OpenVPN Connect.
  2. Email the file to yourself if you're on a computer, or download it directly to your device.
  3. On your iPhone or iPad, open the email attachment or the file you saved, and use the share option to select OpenVPN so that it will import into that app.
Opening an OpenVPN file attachment from an email on an iPad
OpenVPN file in an email
  1. Tap ADD.
Import Profile screen in the OpenVPN Connect app on iPad
OpenVPN import screen
  1. Enter the username necessary to log into that server.
  2. Check the box next to Save password, and then enter the password.
  3. Tap ADD at the top of the screen.
OpenVPN Connect login screen on iPad
OpenVPN username and password fields
  1. If prompted, tap Allow to give OpenVPN the ability to add a VPN to your device.

To connect and disconnect from that server, select the button next to it in the list of profiles.

Option #2: Settings App

If OpenVPN isn't available from your provider, the built-in Settings app works similarly for creating a VPN connection. These steps are confirmed to work on iOS 14 and iPadOS 14, but they should be similar in older versions, too.

  1. Open the Settings app.
  2. Go to General > VPN.
General settings screen on iPad
iPad VPN settings
  1. Tap Add VPN Configuration.
  2. Select the appropriate protocol from the Type menu. iOS 10 and newer only support IKEv2, IPsec, and L2TP.
  3. Return to the previous screen and fill out the rest of the fields with details you got from the VPN provider.
  4. Tap Done.
L2TP VPN setup screen on iPad
iPad VPN setup form

To enable the VPN, go to Settings > General > VPN, tap it from the list, and ensure that the Status toggle is enabled above it. Tap the status button to disable the VPN.