How to Add a VPN Configuration on iPhone and Android

Sunucun 3 min read

Adding a VPN configuration means defining a VPN connection in your phone’s own settings without installing a VPN app. It’s used to connect with VPN details provided by your company or organisation, or to a VPN server you set up yourself. On iPhone this menu is called Add VPN Configuration, and on Android Add VPN.

Illustration: VPN

In this guide we explain the information needed for a manual VPN, the steps on iPhone and Android and common errors.

Information You Need Before You Start

For a manual VPN, you need to get the details from your VPN provider or your company’s IT department:

  • VPN type (protocol): IKEv2, IPsec or L2TP/IPsec (depending on what your device supports)
  • Server address: a domain name such as vpn.company.com or an IP address
  • Remote ID / Local ID (for IKEv2)
  • Username and password or a certificate
  • Pre-shared key (secret) (for IPsec and L2TP)

Note: the old PPTP protocol, considered insecure, isn’t supported on recent iPhone and Android versions.

Adding a VPN Configuration on iPhone

  1. Go to Settings > General > VPN & Device Management > VPN.
  2. Tap Add VPN Configuration.
  3. Under Type, choose IKEv2, IPsec or L2TP.
  4. Fill in fields such as description (any name you like), server, remote ID, username and password with the details you were given.
  5. Tap Done, then turn on the VPN switch to connect.

When connected, a VPN icon appears at the top of the screen. On company devices, VPN settings may be installed automatically with a configuration profile; in that case you only need to install and approve the profile.

Adding a Manual VPN on Android

Menu names may vary by manufacturer:

  1. Go to Settings > Connections (or Network & internet) > VPN. On Samsung devices, go to Settings > Connections > More connection settings > VPN.
  2. Tap Add VPN profile or the + icon.
  3. Enter the name, type (e.g. IKEv2/IPSec MSCHAPv2, IKEv2/IPSec PSK), server address and credentials.
  4. Save and tap the profile to connect.

Android also has an Always-on VPN option; when it’s on, internet traffic may be blocked while there’s no VPN connection.

App or Manual Configuration?

MethodWhen to choose it
VPN appIf you use a commercial VPN service; setup is automatic and easier.
Manual configurationIf you use a company VPN, your own server or a service without an app.
WireGuard/OpenVPN appIf you set up your own server with these protocols; the phone’s built-in menu doesn’t support them, so their official apps are used.

For setting up with an app, see our article how to turn on a VPN on your phone.

If It Won’t Connect, Check

  • Are the server address and pre-shared key correct? Upper and lower case matter.
  • Is the VPN type you chose the same as the protocol the server uses?
  • The Wi-Fi network you’re on may block VPN ports; try with mobile data.
  • Make sure the phone’s date and time are set automatically.

For other causes, read our article why is my VPN not working.

Frequently Asked Questions

Is adding a VPN configuration safe?

It’s safe if you got the details from a source you trust (your company, a well-known VPN provider). Don’t install VPN profiles from unknown sources; all your traffic passes through that server.

How do I delete a VPN I added?

On iPhone, tap the “i” icon next to the profile in the VPN list and choose Delete VPN. On Android, use the delete option in the profile’s settings.

Is a manual VPN free?

The phone’s VPN feature is free; however, if the VPN server you connect to belongs to a service provider, its terms and fees apply.

Categories

Latest guides