Learn how to connect L2TP/IPsec VPN on Mac OS X

Estimated reading time: 1 min

Introduction

This article will describe how you can configure L2TP/IPsec VPN on MAC OS X.

Prerequisites

  • Mac OS X
  • Access to your Mac OS X with admin or a user that has administrator permissions

Step 1 – Log in to Mac OS X

Click on the icon in the left top corner and click System Preferences

macos system

Click on Network

macos network

Click on + to add a new interface

macos network settings

Select  VPN via the Interface dropdown list. Select L2TP over IPsec as VPN-type.

Enter the VPN server information

Server IP = 193.33.61.185
Accountname = Administrator

Once everything is entered/selected click Create

macos plus

Select VPN (L2TP)in the left menu and enter your VPN information. In our tutorial, we use as example Server Address 193.33.61.185 and we are using Administrator as Account Name.

macos vpn

Click on  Authentication Settings... and enter Password in the password field of your VPN user. In our article, it’s the password of the administrator user of our VPN server followed by the Shared Secret that you have entered in step 4 as Preshared key and click on OK

macos vpn sharedkey

Click on Advanced...

macos advanced

If your VPN server allows sending your traffic through the server, you can enable this to send all traffic over your VPN connection. You can enable this feature in step 5 of the article “How to set up a L2TP/IPSec VPN on Windows Server 2016

Select Send all traffic over VPN connection to send all traffic over the secure VPN connection.

macos vpn traffic

Step 2 – Connect with VPN

The Mac OS X VPN client is now configured. Click on  Connect to make a connection with your VPN server.

macos vpn connect

We have made a successful connection to our VPN server via VPN.

macos vpn status

Step 3 – Check IP address

If you are routing all traffic through VPN you see the VPN IP address of your VPN server. You can find your IP address by visiting whatismyip.com. 

macos ip

 

Conclusion

Congratulations, you have configured a VPN client on a Mac OS X. Please view our knowledge base for other articles regarding how to connect with VPN on other Operating Systems.

Was this article helpful?
Dislike 0
Views: 31

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *