Setup Mac VPN
1.Go to System Preferences >> Network
2. Click + to add a new network setting
Edit the profile as follows:
Select VPN for interface
Select L2TP over IPSec for VPN type
Enter the Service Name
3. Enter Server Address and Account Name, then click Authentication Settings.
Enter Password, enter the pre-shared key which set before in the field of Shared Secret, then click OK.
4. Click Apply, then tick the "Show VPN status in Menu bar", then click Connect.
Wait for VPN connection establishing.
When seeing this status, you are connecting to the VPN server successfully.
The connection will now be established and can be seen as a "VPN" in the top menu bar.