Azure VPN Client not routing traffic from some P2S workstations

Mike Crowley 216 Reputation points
2023-05-24T16:46:00.8566667+00:00

We have a few file servers running in Azure and on occasion, a P2S VPN user will not be able to reach them. When we use Test-NetConnection <fqdn> -Port 445 the name resolves correctly, however the TCP connection will fail. On occasion, Ping will succeed, but this isn't consistent. Get-NetRoute returns the correct routes for our simple VNET, with the same properties as healthy workstations. The problem only seems to occur on ~10% of the VPN users, and doing an AutoPilot Reset "fixes" the issue, but obviously this is not an appropriate solution.

  • Client: Windows 11 Azure AD Joined
  • Auth: Azure AD
  • Tunnel Type: OpenVPN / SSL
  • Gateway SKU: VpnGw2

I saw kb5026372 was causing users issues, but as far as I can tell, none of our users have this update.

Nothing stood out to me in the AzureVpnCxn.log file.

On one occasion, I did a packet capture from an impacted workstation and saw the traffic wasn't being sent over the correct (WAN Miniport) interface. I have also occasionally seen Event 2505 in the System log:

The server could not bind to the transport \Device\NetBT_Tcpip_{B771EE23-8FE4-4E7B-858D-EA8A1EBBB6FE} because another computer on the network has the same name. The server could not start.

I am not sure the above error is related, but it makes sense to me that if the VPN adapter can't bind properly, the routing would be broken, though this is the guid for the user's wifi adapter, not their miniport adapter, so maybe unrelated.

I'm not sure where else to look.

Is there additional routing logic beyond the routing table?

Is there any way to reset or otherwise ensure the adapter is healthy?

Has anyone seen this before?

Sadly it always works on my machine...

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,795 questions
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
{count} votes

2 answers

Sort by: Most helpful
  1. Mike Crowley 216 Reputation points
    2023-05-26T17:23:08.5466667+00:00

    For the sake of simplicity, I am not involving applications or cache.

    On a working computer, Test-NetConnection <IP Address> -Port 445 works and on a non-working computer, it doesn't. (no DNS in this example)

    The layer4 traffic isn't being routed to the host.

    I'm not using Azure Files, but likely it would be the same difference, if used with a private endpoint.

    I now have a support case open and will return any insights to this thread.

    Have a great weekend!

    0 comments No comments

  2. Mike Crowley 216 Reputation points
    2023-08-07T19:09:25.0166667+00:00

    FWIW, the Azure guys transferred me to general windows support and that team didn't respond until 2 months later. By then, we had obviously found other solutions for the users, but unfortunately, we never nailed this down.

    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.