How to confirm the access to resources?

Jiro Kitajima 50 Reputation points
2023-06-28T01:41:39.9633333+00:00

How can I actually confirm that a resource, which has been configured with Private Link + Private Endpoint to prevent access from the internet, cannot be accessed as intended?

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
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
550 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 50,021 Reputation points Microsoft Employee Moderator
    2023-06-28T15:24:16.2466667+00:00

    Hello @Jiro Kitajima ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know how you can actually confirm that a resource, which has been configured with Private Link + Private Endpoint to prevent access from the internet cannot be accessed as intended.

    I would like to share a tutorial document which might help you in understanding how the connectivity to private endpoint is validated. In this tutorial, we are testing connectivity to a web app using an Azure Private Endpoint. You can replace the webapp with any other service/resource.

    https://learn.microsoft.com/en-us/azure/private-link/tutorial-private-endpoint-webapp-portal#test-connectivity-to-private-endpoint

    From a test VM within the Vnet connected to private endpoint, you can do a nslookup to the resource IP or FQDN and you will find the private IP address from the subnet where private endpoint is enabled. It will no longer resolve to public IP if private endpoint is configured properly. If not properly configured, it will resolve to a public IP address.

    Next you could test to access the IP or FQDN of the service/resource from a web browser of your local machine and see if it is accessible. If private endpoint is configured properly, you shouldn't be able to access the service from your local machine/public Internet.

    For more troubleshooting steps, please refer the below docs:

    https://learn.microsoft.com/en-us/azure/private-link/troubleshoot-private-endpoint-connectivity

    https://learn.microsoft.com/en-us/azure/private-link/troubleshoot-private-link-connectivity

    https://msrini-msft.github.io/Troubleshooting-Private-Link-DNS-Scenarios/

    If you have any specific scenario or facing any particular issue, please share the details for further discussion.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.