VPN access issue

Marin Marinov 161 Reputation points
2023-07-19T09:32:31.28+00:00

==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 "the 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:

  1. Confirmed that the credentials are correct.
  2. Confirmed that the shared key is correct.
  3. Confirmed that the authentication methods match.
  4. Applied the solution described here: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/rras-vpn-connections-fail-ms-chapv2-authentication
  5. The account is part of the group listed in the network policy.
  6. Under "dial-in" the correct option is selected.

At that point I`m stuck. May I ask you for help?

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Seetharam Paramathmuni 0 Reputation points
    2025-04-28T08:19:35.1466667+00:00

    Overall considering the above solutions first make sure that your network is not filtering Proxy/Anonymizers in your network, this usually happens through any content filtering in your network. You can simply switch on your mobile hotspot connect your desktop/laptop to it and check L2TP VPN to your server, it will work.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.