[MAC-RRAS(VPN)] - "Negotiation Timed Out" for Always-On VPN (IKEv2)

tn-57-gs 26 Reputation points
2022-01-13T21:01:30.167+00:00

Error: "CoId={************}: The following error occurred in the Point to Point Protocol module on port: VPN2-127, UserName: <Unauthenticated User>. Negotiation timed out

164944-vpn-2.png

VPN Server: MS 2019 Server RRAS
NPS Server: MS 2019 Server NPS
Windows Clients: works flawlessly EAP-PEAP with Smartcard certificate (user cert)
Mac Client: Fails.

I have already raised a support case

2110040040003804

with MS and they denied to support macOS clients still I have not seen an article that states RRAS does not support macOS.

As you can see in the below screenshot, IKE_SA_INIT initiates a request from mac client and it even gets response back from the RRAS VPN server with SPI responder cookie and client sends IKE_AUTH request to the VPN server and server responds back but no further continuation in the flow, it breaks right there with the EvenID shared & screenshot above.

164945-macclient-packets.jpg

Apart from the VPN server event log and the packet trace I am not able to figure out what could be the reason behind. I have done all my research, changes to both client & server still no luck. please share your thoughts if you have experienced such issues.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gary Nebbett 5,721 Reputation points
    2022-01-14T09:24:30.203+00:00

    Hello @tn-57-gs ,

    I wrote a blog entry on a related problem a few years ago: https://gary-nebbett.blogspot.com/2018/10/establishing-vpn-connection-from-macos.html

    Since the "next" packet should come from macOS, the best place to start would be to examine the "racoon" log entries on the Mac.

    From the Windows side, one could trace the IKE exchanges, using ETW (Event Tracing for Windows) and the "IKEEXT Trace Provider"; knowing the contents of the IKE_AUTH packet from Windows to Mac might give a hint about the problem. The "IKEEXT Trace Provider" is a WPP provider, so you probably won't be able to understand the trace data by yourself; if you are happy to share it then I would take a look.

    Gary


  2. Limitless Technology 39,351 Reputation points
    2022-01-14T14:00:43.187+00:00

    Hi @tn-57-gs

    Some quick points to check out.

    • Check VPN server certificate has "server authentication" EKU
    • Check certificates are valid on the client, VPN server, and NPS server
    • Check the client, VPN server, and NPS server all have trusted root certificate from the DC (CA administrator)
    • Check the VPN server name on the client matches the VPN server certificate's subject name
    • Check appropriate port (1812, for RADIUS authentication) is open on VPN server and NPS server
    • Check the NPS server is reachable (ping-able) from the VPN server.

    Here is a thread as well which discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

    https://social.technet.microsoft.com/Forums/ie/en-US/0c81d9d6-19ff-407f-9206-26a17ecec532/quotnegotiation-timed-outquot-for-alwayson-vpn-ikev2?forum=ws2016

    Please try the following articles to see if they could be of help.

    https://blogs.technet.microsoft.com/rrasblog/2009/08/12/troubleshooting-common-vpn-related-errors/

    https://social.technet.microsoft.com/Forums/ie/en-US/771bf5ec-7017-4fd3-9496-52137dfa616a/error-description-13801-ike-authentication-credentials-are-unacceptable?forum=winservergen

    Hope this resolves your Query!!

    ------
    --If the reply is helpful, please Upvote and Accept it as an answer--