Set up a connection using a preshared key

To set up an L2TP over IPsec VPN connection in Microsoft Windows 10 using a preshared key, do as follows:

  1. Go to Start > Settings.

  2. In the dialog, go to Network & Internet > VPN.

  3. Click Add a VPN connection.

  4. In the dialog, make the following settings:

    VPN provider: Select Windows (built-in).

    Connection name: Enter a name for the connection.

    Server name or address: Enter the DNS name or the IP address of your organization’s server that accepts remote access connections. Your organization’s administrator should have provided this information to you.

    VPN type: Select Point to Point Tunneling Protocol (PPTP)L2TP/IPsec with pre-shared key. Automatic should work as well if Windows can determine the type while establishing the connection.

    Pre-shared key: Enter the preshared key configured for you.

    Type of sign-in info: Select User name and password.

  5. (Optional) You can enter your username and password now. You can also save these along with the connection.

    If you don’t enter your credentials, Windows prompts you when you initiate the connection.

  6. Click Save.
  7. Select Connect to test the connection.
  8. Close the dialog once you’re finished.