Hello, I’m trying to get my station to work on the L2TP/Ipsec with PSK and MS CHAP-V2 vpn that I created. works great on my phone, and Chromebook, but not on my Win 10 stations. I’ve tried remote and local networks, can’t seem to get it to connect from the windows’ side.
Navigate to:
Start > Settings > Network and Internet > VPN > ‘Add a VPN connection’ (ensure there are no others that will conflict)
Input the following information…
VPN Provider:
Windows (built-in)
Connection name:
VPN
Server name or address:
[Your public IP]
VPN Type:
L2TP/IPsec with pre-shared key
Pre-Shared Key:
[Your PSK Synology gave you]
Type of sign-in info:
User name and password
User name:
[Synology Account]
Password:
[Synology Account]
Remember my sign-in info:
CHECKED
Ensure MS-CHAP v2 is enabled
Go to:
Start > Control Panel > Network and Internet > Network and Sharing Center > Change Adapter Settings
From here,
right-click the ‘VPN’ connection and select ‘Properties’
Navigate to
‘Security’ tab and at the bottom, ensure ‘Allow these protocols’ is selected and MS-CHAP v2 is checked
Try the connection again on a Wi-Fi or wired network with reliable connection
Add a registry key to enable the VPN’s security setting
Log on to the Windows 10 computer
Click Start icon, type “regedit”. If the User Account Control dialog box is displayed on the screen and prompts you to elevate your administrator token, click Yes.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
On the Edit menu, point to New, and then click DWORD (32-bit) Value.
Type:
AssumeUDPEncapsulationContextOnSendRule
and then press ENTER.
Right-click AssumeUDPEncapsulationContextOnSendRule, and then click Modify.
In the Value Data box, type the following value:
2
Click OK, and then exit Registry Editor.
Restart the computer.
Launch the VPN
Press the Start button
Search for “Settings” or press the cog icon just above the start menu icon
Who’s the whiny bitch that downvoted? LOL. Did you even read the gig article before suggesting it. 1 is the better option for L2TP tunneling to work correctly with Windows. I use this setting on three Win10 laptops like this. I tried 2 when I first did my research almost two years ago and it wouldn’t work. Ever. I set to 1 and it always works.
If you mean your Windows 10 machine you need to install OpenVPN community edition, it runs in the system tray. We have perhaps 200 people on it daily right now and perhaps 1-2 issues a week.
One of my previous comments has a list of possible issues that I’ve found using L2TP VPN connections on Windows 10. Maybe see if you can find it and try those.
I’ve also tried things like making sure Win10 fully up to date, switching from wired to wireless connection (or vice versa). It’s a tough issue to diagnose what’s actually the problem since there are many possible solutions.
tried that. same error. “The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.”
OK, leave that set to 1. Then go to Control Panel → All Control Panel Items → Network Connections. Right-click on the VPN connection and choose properties. Make sure the security tab settings are correct. I’m guessing you’re using a preshared key and not a certificate.