What Inbound NSG rules need to be added so that we can browse app services after enabling Network policy for Privateendpoint subnet.

Patel, (Rajesh Kumar) 15 Reputation points
2024-08-13T07:12:13.3733333+00:00

We have enabled NSG policy policy for Private endpoint subnet.Now we rae not able to browse our apps, what inbound NSG rule needs to be added,Inernet is blocked in our network.

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,400 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,664 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 90,151 Reputation points
    2024-08-13T08:39:12.7466667+00:00

    Hi,

    To access your web app/function you would need TCP port 80 and 443, or just 443 if you use https only. Depending on your configuration and requirements, you may need to have a rule that blocks all inbound traffic from the VNet associated with the private endpoint and then a higher priority (lower number) rule to allow port 80/443 traffic only from required IP range.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


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.