How to set up L2TP/IPsec VPN on macOS computers:

  1. Open System Preferences and go to the Network section.
  2. Click the + button in the lower-left corner of the window.
  3. Select VPN from the Interface drop-down menu.
  4. Select L2TP over IPSec from the VPN Type drop-down menu.
  5. Enter FreeVPNCenter for the Service Name.
  6. Click Create.
  7. Enter Server-address-provided for the Server Address.
  8. Enter username-provided for the Account Name.
  9. Click the Authentication Settings button.
  10. In the User Authentication section, select the Password radio button and enter password-provided as its value.
  11. In the Machine Authentication section, select the Shared Secret radio button and enter PSK-provided as its value.
  12. Click OK.
  13. Check the Show VPN status in menu bar checkbox.
  14. Click the Advanced button and make sure the Send all traffic over VPN connection checkbox is selected.
  15. Click the TCP/IP tab, and make sure Link-local only is selected in the Configure IPv6 section.
  16. Click OK to close the Advanced settings, and then click Apply to save the VPN connection information.

You can connect to the VPN using the VPN icon in the menu bar, or by selecting the VPN in the Network section of System Preferences and choosing Connect.