Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A VPN allows you to connect over the internet to a private network. There are a few reasons you might want to do this. You can:

  1. Access network resources such as file servers that are part of the private network.
  2. Access resources that the remote private network has access to, like services on the internet that have been whitelisted for access from the remote network.
  3. Securely access the internet whilst on public WiFi networks. 

Step-by-step guide

To setup an L2TP client VPN on Windows 10:

  • In Windows Search, type VPN and select Change virtual private networks (VPN).

Image Removed

  • This opens up the Windows 10 VPN Settings control panel.

Image Removed

  • Click Add a VPN Connection to open the next window and enter the following:
    • VPN Provider: Windows (built-in)
    • Connnection Name: Any name that will help you identify this connection, in this example we're using MyConnection
    • Server Name or Address: The IP address that you have been given
    • VPN Type: L2TP/IPSec with pre-shared key
    • Pre-shared key: Enter the Pre-shared key that you have been given
    • User name: Enter the username you have been given
    • Password: Enter the password you have been given

Image Removed

  • Click Save
    • Now Navigate to Control Panel > Network & Internet > Network Connections, right click on the connection you've just created and select Properties. On the Security tab, make sure Allow these protocols is selected and that you've allowed Microsoft CHAP Version 2 is ticked. 

Image Removed

  • Now, back on the VPN control panel, select the connection you’ve just created and click Connect.

Image Removed

  • Enter the User name and Password you’ve been given and click OK (if you haven't already entered this previously).

Image Removed

You can also copy and paste or drag and drop images into your instructions.

...

Under Windows 10, in order to connect successfully you may also need to add in the following registry key:

Key: HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent\AssumeUDPEncapsulationContextOnSendRule

Value: REG_DWORD 0x2

Content by Label
showLabelsfalse
max5
spacesSD
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("unifi","l2tp","vpn","ipsec","windows") and type = "page" and space = "SD"
labelsvpn l2tp ipsec windows unifi

...

hiddentrue

...

This article has moved to https://kb.stellarise.com/en/knowledge/how-do-i-setup-an-l2tp-vpn-on-windows