Azure access VM with local file explorer through P2S VPN

Andrew Berardi 0 Reputation points
2023-08-31T18:07:58.4233333+00:00

I do have a P2S VPN. I want to access the Server with file explorer on the local laptop.

My supervisor assigned me as a contributor I can access the servers with RDP. Do I need a role assignment for this?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,115 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 18,696 Reputation points MVP
    2023-08-31T18:24:16.3566667+00:00

    I have created a blog in the following link to show, How to get the file share, in P2S VPN network

    Use an Azure file share with Windows in S2S or P2S VPN

    Hope, the final section on the blog helps you to find the solution


    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. vipullag-MSFT 26,411 Reputation points
    2023-09-11T04:44:50.26+00:00

    Hello Andrew Berardi

    If you have changed the incoming file share settings to allow private and public access, it should be possible to access the file share from your local machine. However, there are a few things you can check to ensure that the configuration is correct:

    Check the firewall settings on the VM to ensure that incoming traffic on the SMB port (port 445) is allowed. You can do this by opening the Windows Firewall with Advanced Security tool on the VM and checking the inbound rules for the SMB protocol.

    Check the network security group (NSG) settings for the subnet where the VM is located. The NSG should allow incoming traffic on the SMB port from your local machine's IP address.

    Check the Azure Storage account settings to ensure that the file share is configured correctly. Specifically, check the following settings:

    • Ensure that the file share is created in the correct storage account and resource group.
    • Ensure that the file share is configured to allow public and private access.
    • Ensure that the file share is not configured to require encryption in transit.

    Regarding your question about changes taking time to implement, changes to the VM's firewall settings and NSG settings should take effect immediately. However, changes to the Azure Storage account settings may take a few minutes to propagate. If you have made changes to the Storage account settings, you may want to wait a few minutes and try again to see if the changes have taken effect.

    0 comments No comments

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.