An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
You don't have to wait for support to find out whether Azure is receiving your IKE_AUTH packets. VPN Gateway has two built-in tools that show exactly that. Error 0x35ED (13805) is the IKE "negotiation timed out" code, which usually means one side sent its packets and never got a reply. These tools will show which side went quiet.
Option A: IKE diagnostic logs (easiest to read)
- On the virtual network gateway, open Diagnostic settings and send IKEDiagnosticLog and TunnelDiagnosticLog to a Log Analytics workspace.
- Let it run for 10 to 15 minutes while the UDM tries to connect.
- Run the sample query from Microsoft's doc (Category == "IKEDiagnosticLog") and filter on your on-premises public IP.
- Read the prefixes: [RECEIVED] lines are packets that reached Azure from your UDM, [SEND] lines are Azure's replies. If you see SA_INIT but no [RECEIVED] IKE_AUTH on port 4500, the UDP 4500 traffic isn't reaching Azure.
Option B: packet capture on the connection
- In Azure PowerShell, run
Start-AzVirtualNetworkGatewayConnectionPacketCaptureagainst the connection, with a filter on your on-premises public IP. - Leave it for at least 10 minutes (Microsoft's suggested minimum), then stop it with
Stop-AzVirtualNetworkGatewayConnectionPacketCaptureand a SAS URL for a storage container. - Open the PCAP in Wireshark and filter on
udp.port == 4500.
If the packets never arrive, look at the path on your side. Check whether the ISP changed your public IP (it must still match the Local Network Gateway), whether a modem or router in front of the UDM is now doing NAT, and whether a recent UniFi firmware update changed the IKE settings. If they arrive and Azure replies but the UDM never answers, the problem is on the UDM.
Does your UDM have a public IP directly on its WAN port, or does it sit behind an ISP modem/router?
If the logs show where the IKE_AUTH exchange stops, please consider accepting it as the answer. If Azure is receiving everything and still timing out, let me know and I'll be happy to keep helping.
Reference: