Azure NSG IPSec

Bimbus the Broive 1 Reputation point
2022-08-02T05:26:36.287+00:00

Just playing around trying to setup A VPN IPsec tunnel from a Virtual machine that sits wthin Azure.

The problem I've encountered is that it doesnt look like NSG's on azure support ESP IP ports for inbound traffic to allow the establishment of the VPN tunnel.

I havent seen any recent articles referencing this as most are from 2015-2017 and normally in reference to setting up a tunnel that points to azure.

I have seen mention that only TCP and UDP are supported on azure but nothing that is recent.

from the Azure documentation it doesnt seem very clear to me if its possible.

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,787 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2022-08-02T06:54:48.31+00:00

    Hi @Bimbus the Broive ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you are trying to configure rules to support ESP protocol in Azure NSG.

    NSG supports the following protocols,
    227083-image.png
    Refer: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview

    As of now, Portal support for configuring ESP and AH is not available.
    You can leverage Azure PowerShell or Azure CLI to achieve this nevertheless.

    Please feel free to let us know if you have any questions about this.

    Cheers,
    Kapil.

    ----------------------------------------------------------------------------------------------------------------

    If the above answer helped, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread


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.