How to setup L2TP VPN macOS Sierra


On this post I am going to show you how to setup L2TP VPN macOS Sierra. It should be also applicable on the previous version of OS X such as El Capitan, Yosemite, and Mavericks.

If you upgraded your Mac to macOS 10.12 Sierra or your iPhone to iOS 10 you might be surprised that PPTP client is not on the list when adding VPN interface. Apple will no longer support PPTP client  starting from macOS Sierra and iOS 10. Alternatively you can switch to use L2TP VPN over IPSec which offers better and more secure connection.

In previous post I have shown you how to configure Mikrotik as an L2TP VPN server. We will use the account configured on the Mikrotik as the login account.

The step by step how to setup L2TP VPN macOS Sierra

Follow the below step by step on how to setup L2TP over IPSec on macOS Sierra

1. Open System Preferences then select Network

In the Network settings, click the + (plus) button to create a new service (we will create a new VPN service)


2. Select the interface for the new service

To create a new VPN service, configure the interface as below;

Interface: VPN
VPN Type: L2TP over IPSec
Service Name: choose a name for this new service. By default the name should be VPN (L2TP)


3. Enter the VPN server address and your account

Make sure the L2TP VPN server has been correctly configured. If you use Mikrotik, you can follow my previous post on how to configure Mikrotik as L2TP VPN server.

Server Address: the IP address of your L2TP server
Account Name: your login name to your L2TP server


4. Configure the Authentication Settings

Click on the Authentication Settings to configure auth and machine authentication.

Password: the password of your PPP secret
Shared Secret: the IPSec shared secret


5. Click Advanced button

Make sure that the ‘Send all traffic over VPN connection’ is checked. Then click OK button. Complete the setting by clicking Apply button.


6. Connecting to L2TP VPN server

To connect to the VPN server, click the Connect button just under the Authentication Settings. Once it is connected, you can see the connection status, the connect time, and the IP address assigned to your Mac.


I hope this post can help you on how to setup L2TP VPN on macOS Sierra.