How to Set Up VPN Connections in Windows

A virtual private network connects two private networks over the internet

Graphic of button switching between VPN and proxy

Olivier Le Moal/Getty Images

Configuring a VPN in Windows 10 is easy with Microsoft VPN, the built-in VPN client in the operating system. Once configured, your computer will be a VPN client that can connect to a remote VPN server.

Instructions in this article apply to Windows 10.

Configure a VPN Connection in Windows

Before you begin, collect the hostname or IP address for the VPN server you want to connect to. Some VPN services provide a specific IP address for VPN servers. If you need to access a work VPN or a specific server, ask your company network administrator for the VPN connection information.

Microsoft VPN uses the PPTP, L2TP, and SSTP network protocols. There are similar VPN clients you can install on the computer to connect to the internet through a VPN.

  1. Select Start > Settings.

    Settings icon in Windows 10 Start Menu
  2. Select Network & Internet.

    Network & Internet in Windows 10 Settings
  3. Select VPN.

    VPN tab in Windows 10 Settings
  4. Select Add a VPN connection.

    Add a VPN connection button in Windows 10 Settings
  5. Select the VPN provider dropdown arrow and choose Windows (built-in).

    Windows (built-in) in VPN Provider field
  6. In the Connection name text box, enter a descriptive name for the VPN connection.

  7. In the Server name or address text box, enter the address provided by the VPN service.

  8. Select the VPN type dropdown arrow and enter the VPN type provided by your VPN service provider.

    Connection options in Windows VPN
  9. Select the Type of sign-in info dropdown arrow and choose the sign-in type provided by your VPN service provider.

  10. The type of sign-info you use determines if you fill out the User name and Password fields, both are optional.

  11. Select Save.

    Save button for VPN connections in Windows 10
  12. The new VPN connection appears under VPN settings.

    New VPN connection in Windows 10 Settings

To disconnect from the VPN, return to the Network Connections window, right-click the VPN connection, and select Disconnect.