macOS includes a native VPN client. You can use the macOS VPN client to make an L2TP VPN connection.
Configure the L2TP Network Settings
To prepare a macOS device to make an L2TP VPN connection, you must configure the L2TP connection in the network settings.
- In the Apple menu, select System Preferences.
- Click the Network icon.
- Click the "+" icon in the lower left corner to create a new network interface.
- In the Interface drop-down list, select VPN.
- From the VPN Type drop-down list, select L2TP over IPSec.
- In the Service Name text box, type a name for this VPN connection.
- Click Create.
The settings for the VPN connection appear.
You can use the default configuration or you can create your own configuration. These steps use the default configuration.
- In the Server Address text box, type the IP address or hostname of the server to connect to.
- In the Account Name text box, type your user name as it appears in the service activation email.
- Click Authentication Settings.
- In the Password text box, type the password as it appears in the service activation email.
- Our servers are configured to use a pre-shared key as the IPSec credential method:
- Select Shared Secret.
- In the Shared Secret text box, type “vpn”.
- Click Apply to save the configuration changes.
Start the L2TP Connection
To start the L2TP connection:
- In the Apple menu, select System Preferences.
- Click the Network icon.
- Select the VPN connection you created in the Network dialog box.
- Click Connect.
After the VPN connection is started, the Connect button changes to Disconnect.