==Summary==
I installed "Routing and Remote Access" role on Windows Server 2016 so I can use it as a VPN gateway(L2TP/IPsec with pre-shared key). The authentication is handled by a RADIUS server. On trying to connect a Windows 10 host to the VPN gateway I got "emphasized textThe remote connection was denied because the user name and password combination you provided is not recognized, or the selected authentication protocol you selected is not permitted on the remote access server." error message.
==Troubleshooting==
I reviewed the event logs and found Event ID 20227:
"The user PC-1\Martin dialed a connection named VPN-Lan-1 which has failed. The error code returned on failure is 691."
Based on both error messages I did following:
- Confirmed that the credentials are correct.
- Confirmed that the shared key is correct.
- Confirmed that the authentication methods match.
- Applied the solution described here: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/rras-vpn-connections-fail-ms-chapv2-authentication
- The account is part of the group listed in the network policy.
- Under "dial-in" the correct option is selected.
At that point I`m stuck. May I ask you for help?