Hello,
I setup a lab server running Server 2012 Standard. I installed the routing and remote access role, setup a preshared key for the custom IPsec policy for L2TP/IKEv2 connections (the key is 1234 as a test), and gave my account access to dial in.
On the client side I set up the VPN with the same preshared key and L2TP/IPSEC as the type of tunnel.
However, I can only connect using PPTP if I change the tunnel to automatic. L2TP and IKEv2 fail. L2TP shows error 789 on the client (Windows 7 pro) and no error that I can find on the server. I disabled the firewall on the server as a test, still no go.
Any help would be greatly appreciated. After searching the internet for troubleshooting I setup my VPN identical to this guide:
http://www.cloudservers.com/setup-l2tpipsec-vpn-on-windows-server-2012-cloud-vps/
Both servers are being a NAT on my home network (my lab). However, the SQL server 2012 is behind a VMware machine with 2 network ports. The internal network port is linked to a pfsense test setup (192.168.1.x) and the external interface is what I'm trying to dial in to (10.10.10.x).
Thanks.
I forwarded ports 1701, 500, and 4500 through my home router to expose the server to the outside world. I then tried to connect with Windows 7 from an outside network. Same error. I tried my Android phone, had more success there. Said "failed IKE negotiation" but at least my server logs show the error and have the following in the event log:
I'm not sure which encryption method to use as Android gives me 100 different combinations.
2. I noticed lots of talk about NAT-T issues and to modify the registry by adding a key as outlined in this KB:
http://support.microsoft.com/en-us/kb/926179
Added it to both my client and server and rebooted both. Same issue.