Windows 7/10 & L2TP connection issue
Posted: Sat Aug 25, 2018 12:00 am
It took me today quite a long time to found a solution to the issue with establishing VPN connectivity from Windows 7/10 to MikroTik router using L2TP/IPSEC protocol, so I'm sharing solution.
Configuration description:
- 2011 router with RouterOS v6.42.7 behind NAT & with DNAT set up for being accessible on public ip
- Windows 7 & Windows 10 PCs behind NAT
- L2TP VPN with IPSEC set up
Symptoms
- VPN client on Ubuntu Linux works fine
- VPN client on Windows 2008 works fine
- VPN clients on Windows 7 / 10 does not establish phase 2 of IPSEC connection setup
Issue was related to incorrect of douple-NATed connections in Windows 7 / 10.
Solution was to change UDP encapsulation set-up in Windows via registry key as described in below KB:
https://support.microsoft.com/pl-pl/hel ... in-windows
Issue is solved now, I'm writing this post to have reference in the future, if I need to solve similar issue![Smile :)](./images/smilies/icon_smile.gif)
I hope it will be useful for somebody
Thanks
Ser@fin
Configuration description:
- 2011 router with RouterOS v6.42.7 behind NAT & with DNAT set up for being accessible on public ip
- Windows 7 & Windows 10 PCs behind NAT
- L2TP VPN with IPSEC set up
Symptoms
- VPN client on Ubuntu Linux works fine
- VPN client on Windows 2008 works fine
- VPN clients on Windows 7 / 10 does not establish phase 2 of IPSEC connection setup
Issue was related to incorrect of douple-NATed connections in Windows 7 / 10.
Solution was to change UDP encapsulation set-up in Windows via registry key as described in below KB:
https://support.microsoft.com/pl-pl/hel ... in-windows
Issue is solved now, I'm writing this post to have reference in the future, if I need to solve similar issue
![Smile :)](./images/smilies/icon_smile.gif)
I hope it will be useful for somebody
Thanks
Ser@fin