How to Configure and Manage VPN Settings on macOS

Difficulty
Intermediate
Tested on
macOS 15.1 - MacBook Pro M3
You will need
VPN server credentials, Shared Secret or Certificate, Administrator access

Step by step

  1. 30 sec

    Access Network settings

    Open the Apple menu and select System Settings. Navigate to the Network tab in the sidebar and locate the VPN & Filters section.

  2. 1 min

    Add a new VPN configuration

    Click the Add VPN Configuration button. Select the appropriate protocol based on your requirements, such as IKEv2, IPsec, or L2TP over IPsec. macOS native support prefers IKEv2 for superior security and stability.

    Note: Avoid PPTP as it is deprecated and insecure.
  3. 1 min

    Enter server credentials

    Fill in the Display Name, Server Address, and Remote ID fields provided by your network administrator. Ensure the Account Name and password or certificate fields are populated accurately.

    Note: Use the Keychain to store passwords securely.
  4. 1 min

    Refine connection options

    Click the Options button to configure advanced settings like Send all traffic over VPN connection. Enabling this forces all internet traffic through the encrypted tunnel, preventing leaks.

    Note: Verify that your DNS settings are set to prevent DNS hijacking.
  5. 30 sec

    Establish the connection

    Toggle the switch next to your newly created VPN profile to connect. The status will update to Connected once the handshake is successful.

    Note: Use the Control Center menu bar icon for quick access to your VPN status.
  6. 1 min

    Test for connection leaks

    Visit an IP leak testing service in your browser to confirm your public IP address reflects the VPN server location. If your actual ISP IP appears, disconnect immediately and review your tunnel configuration.

    Note: Always ensure your firewall is active in System Settings > Network > Firewall.