VPN Gateway max number of NICs connected in (peered) networks

Bas Pruijn 956 Reputation points
2023-06-20T16:16:09.86+00:00

Our VPN Gateway has approx 500 private endpoints connected, shared over several VNETs. Now the VPN gateway is (according to Microsoft) at 100% CPU load. We already upgraded from VpnGw1 to VpnGw2, but the error still occurs.

Can you please respond how many NICs or Private endpoints you have connected to your VPN Gateway. Please also mention the SKU.

At the moment nobody can tell me what SKU we are required to have to be able to allow for our workload. We use VNET peering with the 'remote virtual network's gateway' option, since this is required for the VPN to work.

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,796 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bas Pruijn 956 Reputation points
    2023-07-11T15:06:50.9966667+00:00

    Hi All.

    The work-around we implemented is the following:

    • remove all the 'use remote gateway' items from the network peering
    • create an Azure Firewall in the hub network
    • configure the firewall to ALWAYS use SNAT
    • create a route table (UDR) on the gateway subnet, that is forwarding all the internal network addresses to the Firewal

    Now all the VPN traffic is forwarded to the firewall. The firewall is now proxying the traffic to the peered network. The answer is sent back to the VPN client by the firewall. We were able to downscale the VPN Gateway back to SKU 1.

    Even though we do not know the root cause for this issue, we can work using this work around.

    1 person found this answer helpful.

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.