I’m kind of struggling to get the native VPN (L2TP over IPsec) working for windows. I just set this up using the IPsec wizard and it works fine on a Macbook, when I use the exact same settings on a Windows laptop it doesn’t work. Everything I read when googling suggest everything is set up correctly.
When looking into logs I see that the Macbook goes through PH1 and PH2, then starts the L2TP tunnel, all fine. The Windows goes through PH1, goes through PH2 6 times, never starts L2TP.
There is bug on Windows preventing L2TP on Wndows when the client is behind a NAT device(home router), you can fix it by adding the following to registry(one-time) and rebooting the system.
Umm, on macOS, don’t use L2TP/IPSec. Just use regular IPSec v1 as macOS actually has a native built in client for that. (select Cisco IPSec when configuring the VPN connection on macOS)
It should work right out of the box with the settings from the FortiGate wizard assuming you didn’t change any settings on the Windows side. It has worked perfectly for me last time I’ve tested this (about two months ago on 6.4.9).
I know this doesn’t solve the issue at hand but I’ve always had issues with Windows Native VPN even with Cisco Firewalls. Windows will come out with some patch that makes the native VPN go sideways. For stability sake, I can’t possibly stress enough using the FortiClient for remote access VPN. It’ll make your life way better and reduce trouble calls.