Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Connect via VPN from windows 10 to a mac os server

hi i have a mac os server and i am trying to connect via VPN from windows 10 pro and it wont connect


I Use L2TP connection with private pre shared key . All other computers i have they connect with no issues such as my macbook pro and another windows pc. I get a problem that says " The network connection between your computer and the VPN server could not be established because server is not responding. This could be because one of network devices such as firewall,NAT,routers." I am the IT Administrator and i have checked everything other users work. This computer does not. Checked everything and i am out of ideas and google search run out of solutions. Any other assistance is welcome 🙂


Best Regards

Joseph

OS X El Capitan (10.11.6)

Posted on Dec 5, 2016 12:48 AM

Reply
6 replies

Dec 19, 2016 11:37 PM in response to Josephprisma

Well i did all the configurations demanded for the NAT traversal.
This was provided by Apple forums and MS forums too. But it wasn't working because the authentication its in the same channel protocol as the encapsulation that is from 0-2

To create and configure the
AssumeUDPEncapsulationContextOnSendRuleregistry value, follow these steps: Click StartUser uploaded file, point to All Programs, click Accessories, click Run, type regedit, and then click OK. If the User Account Control dialog box is displayed on the screen and prompts you to elevate your administrator token, click Continue.

  1. Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgentNote You can also apply the AssumeUDPEncapsulationContextOnSendRuleDWORD value to a Microsoft Windows XP Service Pack 2 (SP2)-based VPN client computer. To do this, locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IPSec
  2. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  3. Type AssumeUDPEncapsulationContextOnSendRule, and then press ENTER.
  4. Right-click AssumeUDPEncapsulationContextOnSendRule, and then click Modify.
  5. In the Value Data box, type: 2


Then you will go to start and start typing (windows 10 only ) .secpol.msc.
Press enter it will open a window.
Local Policies > Security Options > Network Security: LAN Manager authentication level.
find the above path and set it to Send LM & NTLM - use NTLMv2 session security if negotiated.
on the same section you will find on the same list you will find 2 sections requesting 128-bit encryption remove them.

But it wasn't working and then i discovered i had to change the HKLM\SYSTEM\CurrentControlSet\Control\Lsa from the Registry editor

the LmCompatibilityLevel set it to 3. So it will change the authentication Channel
Then restart the computer.

It should Work


Connect via VPN from windows 10 to a mac os server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.