Cookies and privacy

Necessary cookies support the portal. External analytics and ad measurement start only with your consent. You can accept, reject optional tools or choose categories.

Tools: Google Analytics 4, Google Ads.

Privacy policy
Skip to content
Theme
Choose a plan
Guide

L2TP/IPsec on macOS - setup guide

Updated 3 November 2026 · Applies to: macOS · L2TP/IPsec

How to set up L2TP/IPsec on macOS: required credentials, client settings and checking your VPNonline connection.

Earlier interface screenshots

The app may look different. Obtain hosts, files, certificates and keys from the current account. Older screens do not confirm that a firmware release or protocol is supported by the current service.

Before you start

  • An active service and access to your customer account.
  • The VPN username and connection password from your account - these may differ from your website sign-in.
  • The current server, profile and any PSK from the matching protocol section in your account. Do not copy example passwords or hosts from screenshots.

Open connection settings

Client settings

Video guide: macOS

The player is provided by YouTube. Enabling it connects you to Google and is subject to its privacy policy.

Watch on YouTube
  1. Step 1: In the first step, go to "System preferences ..." (1)

    In the first step, go to "System preferences ..." (1)

    macOS - In the first step, go to "System preferences ..." (1)
  2. Step 2: Then, in the "Internet and wireless connections" section select "Network" (2)

    Then, in the "Internet and wireless connections" section select "Network" (2)

    macOS - Then, in the "Internet and wireless connections" section select "Network" (2)
  3. Step 3: Add a new network connection by clicking on "+" (3)

    Add a new network connection by clicking on "+" (3)

    macOS - Add a new network connection by clicking on "+" (3)
  4. Step 4: From the tab "Interface" (4) select "VPN" (5)

    From the tab "Interface" (4) select "VPN" (5)

    macOS - From the tab "Interface" (4) select "VPN" (5)
macOS - From the tab "Interface" (4) select "VPN" (5)
  1. Step 5: From the tab "Type VPN" select "L2TP over IPsec" (6)

    From the tab "Type VPN" select "L2TP over IPsec" (6)

    macOS - From the tab "Type VPN" select "L2TP over IPsec" (6)
  2. Step 6: Enter the name of the connection, e.g

    Enter the name of the connection, e.g. "VPN (L2TP)" and click "Create" (7)

    macOS - Enter the name of the connection, e.g. "VPN (L2TP)" and click "Create" (7)
  3. Step 7: In the field: "Server address" (8) - enter the name one of the VPNonline servers In…

    In the field: "Server address" (8) - enter the name one of the VPNonline servers In the field: "Account name" (9) - enter your VPN username The list of available VPN servers can be found in the client panel: /en/account Click "Authentication settings ... " (10)

    macOS - Click "Authentication settings ... " (10)
  4. Step 8: In the "User Authentication" field, select Password In the field: "Password" (11) -…

    In the "User Authentication" field, select Password In the field: "Password" (11) - enter your VPN password I n the "Machine Authentication" field, select "Shared Secret" In the field: "Shared Secret" (12) - enter: (current PSK from your account) Click "OK"

    macOS - Click "OK"
  5. Step 9: Check "Show VPN status in the menu bar" (13) and click "Advanced..." (14)

    Check "Show VPN status in the menu bar" (13) and click "Advanced..." (14)

    macOS - Check "Show VPN status in the menu bar" (13) and click "Advanced..." (14)
  6. Step 10: In the "Options" , select "Send all traffic over a VPN connection" (15) Click "OK"

    In the "Options" , select "Send all traffic over a VPN connection" (15) Click "OK"

    macOS - Click "OK"
  7. Step 11: To confirm all introduced changes, click "Apply" To connect to the VPN server, click…

    To confirm all introduced changes, click "Apply" To connect to the VPN server, click "Connect" (16)

    macOS - To connect to the VPN server, click "Connect" (16)
  8. Step 12: After the correct VPN connection is established, the status will change to…

    After the correct VPN connection is established, the status will change to "Connected" (17)

    macOS - After the correct VPN connection is established, the status will change to "Connected" (17)
  9. Step 13: To disconnect the VPN connection, click on the upper bar and from the drop down…

    To disconnect the VPN connection, click on the upper bar and from the drop down list, select "Disconnect VPN (L2TP)" (18)

    macOS - To disconnect the VPN connection, click on the upper bar and from the drop down list, select "Disconnect VPN (L2TP)" (18)

Check the connection

After the client connects, open the IP checker and compare the address and country with the selected server. Also test Internet access and DNS. A Connected status alone does not prove that all application traffic uses the tunnel.

If the connection fails

Authentication failed

Check the separate VPN username, connection password and service status in your account. Never include the password in a support request.

No Internet access or a certificate error

Download a fresh profile and check the device clock, DNS and routing. Keep certificate verification enabled. Include the device model, OS version and error message in a support request, with secrets removed.

Did this help?

We only store the answer, nothing about you.

Still not working?

Write to us. We will include this article's name, so we know what you already checked.

Write to us