DescubreApple

Apple, Mac, iPhone, iPad

iOS

How to Set Up a VPN on macOS Sequoia and iOS 18 Step by Step

Technical guide to manually setting up a VPN on macOS Sequoia and iOS 18 without third-party apps, using IKEv2 and L2TP protocols, configuration profiles, and troubleshooting common errors.

Cómo configurar VPN en macOS Sequoia e iOS 18 paso a paso

Setting up a VPN on your Mac or iPhone without relying on a third-party app takes between 5 and 10 minutes if you have the server details at hand. macOS Sequoia 15.x and iOS 18 come with native VPN clients that support IKEv2 and L2TP over IPSec, as well as the option to install configuration profiles (.mobileconfig) provided by your company or VPN provider.

This guide covers manual configuration on both systems, when it makes sense to use an app instead of the native client, and the most common errors you’ll run into (especially with certificates and networks that block IPSec).

Prerequisites

Before you begin, you need to be clear about what type of VPN you’re setting up. Connecting to your company’s corporate VPN is not the same as setting up remote access to your own home network.

  • macOS Sequoia 15.0 or later (the steps are identical from 15.0 through 15.1 and later versions).
  • iOS 18.0 or later on your iPhone. On iPadOS 18 the process is practically identical.
  • The VPN server details: server address, protocol type (IKEv2 or L2TP), account name, password and, if applicable, shared secret or certificate.
  • If your provider or company gives you a profile file (.mobileconfig), download it before starting: it saves you from filling in the fields by hand.
  • Administrator permissions on the Mac to add a new network interface.

Apple removed support for PPTP years ago because it is an insecure protocol, so if your provider only offers PPTP, you won’t be able to use it natively on Sequoia or iOS 18. You’ll need their own app.

Manual VPN vs third-party app on macOS: what to choose in each case

Before diving into the settings, it’s worth deciding whether you want manual configuration or the provider’s app. They are not mutually exclusive, but each has its place.

Scenario Recommendation Why
Corporate VPN with IKEv2/L2TP Manual configuration or .mobileconfig profile More stable, with no additional background processes
NordVPN, ExpressVPN, Surfshark for personal use Official app Fast server switching, kill switch, WireGuard protocol
Access to your NAS or home network WireGuard (app) or Tailscale Native IKEv2 is not trivial to set up at home without a compatible router
Development or network testing environment Manual configuration Full control over parameters, without app layers

Manual configuration has a clear advantage: it doesn’t add software that runs in the background or consumes extra battery on the iPhone beyond the VPN connection itself. If battery consumption concerns you, you may also want to check which apps drain the iPhone battery without you noticing, since poorly optimized VPN apps are a classic offender there.

How to set up a VPN on macOS Sequoia step by step

Configuring an IKEv2 VPN on macOS

  1. Open System Settings → Network.
  2. Click the + button at the bottom of the interface list.
  3. Under Interface, choose VPN.
  4. Under VPN Type, select IKEv2.
  5. Give the service a name (for example, “Office VPN”) and click Create.
  6. Fill in Server Address and Remote ID (usually they are the same: the domain or IP of the VPN server).
  7. Under Authentication Settings, choose between Username, Certificate or None, depending on what your network administrator has told you.
  8. Click Apply and then Connect.

If everything is correct, you’ll see the VPN icon in the menu bar change from grey to black, and the status will change to “Connected” with the connection time running.

Configuring an L2TP VPN on macOS

The process is nearly identical, with a couple of extra fields:

  1. System Settings → Network → +.
  2. Interface: VPN. Type: L2TP over IPSec.
  3. Enter the server address and the account name.
  4. Click Authentication Settings: here you need the user’s password and the IPSec tunnel’s shared secret. These are two separate fields, and it is the number one mistake people make when configuring L2TP for the first time.
  5. Check Show VPN status in menu bar for quick access to connect/disconnect.
  6. Apply → Connect.

Importing a VPN configuration profile

If you have a .mobileconfig file, the process is greatly simplified:

  1. Double-click the profile file.
  2. macOS will automatically open System Settings → Profiles.
  3. Click Install and confirm with your administrator password.
  4. The VPN will already appear configured in System Settings → Network, ready to connect.
Cómo configurar VPN en macOS Sequoia e iOS 18 paso a paso

How to set up a VPN on iOS 18 step by step

Adding a VPN manually on iPhone

  1. Open Settings → General → VPN & Device Management.
  2. Tap VPN and then Add VPN Configuration.
  3. Choose the Type: IKEv2, IPSec or L2TP.
  4. Fill in Description (the name you’ll see in the list), Server, Remote ID (IKEv2 only) and Authentication.
  5. If you use user authentication, enter the username and password. If it’s certificate-based, you’ll need to have installed it beforehand from a profile.
  6. Tap Done at the top right.
  7. Go back to Settings → General → VPN & Device Management → VPN and turn on the switch next to your VPN’s name.

You’ll see the VPN icon appear in the status bar, next to the time, as soon as the connection is active.

Installing a VPN profile from an app or file

If your provider sends you a link or a .mobileconfig file:

  1. Open the link or file from Mail, Safari or Files.
  2. iOS will show a notice: “Profile Downloaded”.
  3. Go to Settings → General → VPN & Device Management → Downloaded Profile.
  4. Tap Install, and enter your iPhone passcode if asked.
  5. Confirm Install again in the warning prompt (this is normal, iOS always warns that a profile may change device settings).

This is exactly the same mechanism some password management or security tools use to distribute configurations; if you manage credentials within the Apple ecosystem, you’ll also want to know how the Passwords app works in iOS 18 and macOS Sequoia, because storing your VPN credentials there saves you from typing them every time.

WireGuard on macOS: when to use it instead of IKEv2/L2TP

WireGuard is not natively integrated into macOS Sequoia or iOS 18. You need to install the official WireGuard app from the Mac App Store or the iPhone App Store.

It makes sense to use WireGuard instead of the native client when:

  • You set up your own VPN server at home (for example, on a Synology NAS or a Raspberry Pi) and want remote access to your network.
  • You want better performance on unstable mobile networks: WireGuard reconnects faster after network changes than IKEv2 in many real-world scenarios.
  • You use Tailscale, which builds its mesh network on the WireGuard protocol and greatly simplifies peer-to-peer configuration without opening ports on the router.

The downside is that the WireGuard app adds a permanent background process, something to keep an eye on if iPhone battery consumption concerns you.

Common problems and how to solve them

The VPN connects but there is no traffic to the internet. Check that the “Send all traffic over VPN” option is enabled if your configuration requires it, or conversely, disable it if you only need access to internal resources (split tunneling).

Authentication error with L2TP. 90% of the time this is because the user password has been confused with the IPSec tunnel’s shared secret. They are two different things; check them separately.

IKEv2 won’t connect from public WiFi networks. Some hotel and airport networks block UDP port 500 and IPSec in general. Try connecting using mobile data to confirm the problem is the network, not your configuration.

The VPN profile disappears after a system update. This happens occasionally after updating to a major version of macOS or iOS. Reinstall the .mobileconfig profile; if you configured it manually, check that the fields haven’t been cleared.

High battery consumption on the iPhone with the VPN active. It’s normal for consumption to rise somewhat, but if it’s disproportionate there may be another background app interfering. This overlaps with known issues in certain iOS builds; if you notice it, it’s worth checking how to diagnose abnormal battery drain on iOS 18.2 before blaming the VPN directly.

Alternatives to the native VPN: best apps compatible with macOS Sequoia

If manual configuration falls short or you need non-native protocols, these are the most tested options on macOS Sequoia as of November 2026:

App Main protocol Compatibility Approx. price (annual)
NordVPN NordLynx (WireGuard-based) macOS, iOS, Apple TV from 3–4 €/month on a multi-year plan
ExpressVPN Lightway macOS, iOS, Apple TV from 6 €/month
Surfshark WireGuard macOS, iOS from 2–3 €/month on offer
Tailscale WireGuard (mesh) macOS, iOS, Linux, Windows free up to 3 users/100 devices
Official WireGuard WireGuard macOS, iOS free (requires your own server)

Commercial VPN prices change frequently due to offers and multi-year plans, so treat them as indicative and check the current price on the provider’s website before paying.

FAQ

Can I have several VPNs configured at the same time on macOS? Yes, you can add as many VPN services as you like in System Settings → Network, but only one can be actively connected at any given time.

Does the native VPN on iOS 18 work with mobile data and WiFi alike? Yes, once enabled in Settings → General → VPN & Device Management, it stays active when switching between WiFi and mobile data, unless the system disconnects it due to loss of network.

Do I need an MDM profile to configure a VPN on a company iPhone? Not necessarily. You can configure it manually if you have the server details, but many companies prefer to distribute a managed .mobileconfig profile to simplify the process and be able to revoke it remotely.

Why won’t my Mac let me choose L2TP in recent versions of Sequoia? It is still available under System Settings → Network → + → VPN, but if it doesn’t appear, check that you don’t have device management (MDM) restrictions limiting the allowed VPN types.

Is WireGuard more secure than IKEv2? They are different approaches. WireGuard uses more modern cryptography and a smaller, auditable codebase; IKEv2 is more battle-tested in corporate environments and has better native support on Apple. For personal use, WireGuard usually gives better performance; for already-deployed corporate environments, IKEv2 remains a solid choice.

As an Amazon Associate, I earn from qualifying purchases.

JG

Jaime Gomez

Writes at DescubreApple. Topics: Hardware, Software, Industry. 234 articles published since 2006.

🇬🇧 EN