Is it possible to get Gigabit speed on a P2S connection with VPN Gateway?

NSou 21 Reputation points
2021-03-22T18:44:01.18+00:00

Documentation suggests I should be able to get 1 Gbps speeds on a P2S connection, but I'm not. My test setup is as follows (also see diagram):

  • A speed test server in a VNET in US East
  • A VPN Gateway on the same VNET
  • A Windows 10 client in a different VNET in the same region

Without going through the VPN Gateway, the Windows 10 client sees speeds of 1.8 Gbps down and 1.6 Gbps up. However, going through the gateway, it gets about 150 Mbps down and 450 Mbps up. I don't seem to have many options at my disposal for configuring a P2S gateway, so I fear that I am out of luck. I have tried both OpenVPN and IKEv2 tunnel types.
My question: Is there a way to achieve Gigabit speeds through a VPN Gateway with a P2S connection?

My SKUs:

  • VPN Gateway: VpnGw2
  • VM SKUs: Standard D4s v3

6iygaqc57ko61.png

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,798 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 123.7K Reputation points MVP Volunteer Moderator
    2021-03-22T19:57:27.027+00:00

    Hi @NSou ,

    Please take a look on the linked page. There is a relationship between the throughput and the algorithm for both IPsec Encryption and Integrity. Best performance you get with GCMAES256.

    80270-image.png

    Source: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways#benchmark

    For me it looks like there is only an option in the Site-To-Site connections to configure the algorithm that is used.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


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.