Before you start: ask your administrator or VPN provider for the VPN server address, Remote ID or Server ID, username, and password. Do not guess these values.
This guide explains how to connect to an IKEv2 VPN using the built-in VPN settings on macOS and Windows 11. It is written for people who need exact steps: where to click, which menu to open, and what to type into each field.
| Field | Example value | What it means |
|---|---|---|
| Connection name | Company VPN | A label you choose so you can recognize the VPN later. |
| Server address | vpn.example.com | The domain or IP address of the VPN gateway. |
| Remote ID / Server ID | vpn.example.com | The server identity used by IKEv2. Often the same as the server address. |
| Username | your.name@example.com | The VPN username issued by your administrator. |
| Password | Your VPN password | The password issued for VPN access. |
| VPN type | IKEv2 | The protocol this guide covers. |
Important: replace every example value with the real values from your VPN administrator. For IKEv2, the Remote ID is often the same domain as the VPN server, but if your administrator gave a different Remote ID, use the value they gave you.
macOS: Connect To IKEv2 VPN
1. Open Network Settings
- Click the Apple logo in the top-left corner of the screen.
- Click System Settings.
- In the left sidebar, click Network.
- Find VPN or VPN & Filters.
2. Add A New VPN Configuration
- On the Network screen, click the ... menu or the option named Add VPN Configuration.
- Click Add VPN Configuration.
- Choose IKEv2.
| macOS screen | What to choose |
|---|---|
| Network | Open VPN or VPN & Filters. |
| Add VPN Configuration | Select IKEv2. |
3. Enter The VPN Details
- In Display Name, type a clear name, for example
Company VPN. - In Server Address, type the VPN server address, for example
vpn.example.com. - In Remote ID, type the Remote ID from your administrator. Usually this is also
vpn.example.com. - Leave Local ID empty unless your administrator specifically told you to enter something there.
- Click Create.
Do not add spaces: vpn.example.com is correct. vpn.example.com with a space at the end can fail.
4. Enter Username And Password
- Open the VPN connection you just created.
- Find Account Name or User Authentication.
- Type your VPN username exactly as it was issued.
- Click Authentication Settings if macOS shows that button.
- Choose Password.
- Type your VPN password.
- Click OK or Save.
5. Connect
- Return to System Settings -> Network -> VPN.
- Click the VPN connection named Company VPN, or whatever name you used.
- Turn on the VPN switch or click Connect.
- If macOS asks for permission to add VPN configurations, click Allow.
- Wait until the status says Connected.
Windows 11: Connect To IKEv2 VPN
1. Open VPN Settings
- Click the Start button.
- Click Settings.
- In the left sidebar, click Network & internet.
- Click VPN.
2. Add A VPN Profile
- On the VPN page, click Add VPN.
- Wait for the Add a VPN connection form to open.
3. Fill In The Windows 11 Form
| Windows field | What to enter |
|---|---|
| VPN provider | Choose Windows (built-in). |
| Connection name | Type a clear name, for example Company VPN. |
| Server name or address | Type the server address, for example vpn.example.com. |
| VPN type | Choose IKEv2. |
| Type of sign-in info | Choose User name and password. |
| User name | Type your VPN username. |
| Password | Type your VPN password. |
- Check every field again.
- Click Save.
4. Connect To The VPN
- Go back to Settings -> Network & internet -> VPN.
- Find the connection named Company VPN.
- Click it.
- Click Connect.
- If Windows asks for the username or password again, enter them again exactly.
- Wait until the status says Connected.
5. Faster Connection Next Time
- Click the network, Wi-Fi, or sound area in the bottom-right corner of the taskbar.
- Click VPN.
- Choose Company VPN.
- Click Connect.
How To Check That The VPN Works
- Make sure the VPN status says Connected.
- Open a website, dashboard, admin panel, or internal service that should only work through the VPN.
- If your company uses a static VPN IP for whitelisting, ask your administrator for the test page or IP-check process.
- If the private service opens only while the VPN is connected, the setup is working.
If It Does Not Connect
| Problem | What to check |
|---|---|
| Wrong server | Confirm the server address and remove accidental spaces. |
| Wrong protocol | Make sure the VPN type is IKEv2, not Automatic or another protocol. |
| Wrong Remote ID on macOS | Ask your administrator for the exact Remote ID and re-enter it. |
| Bad credentials | Re-type the username and password. Check capitalization and keyboard language. |
| Blocked network | Try another connection, such as mobile hotspot. Some Wi-Fi networks block VPN traffic. |
| Time or certificate issue | Make sure the device date and time are correct. |
Escalate with details: if you contact support, include your operating system, the VPN server address you used, the exact error text, and whether you tested another network.
