Can't access Virtual Machine's shared folder from my VPN client

jchipoco 21 Reputation points
2020-10-16T16:12:52.66+00:00

I have created a Point-to-Site VPN in my Azure environment. I'm able to remotely connect to the VPN tunnel and can ping the private address of the Azure virtual machine. I can also RDP into the server but I'm not able to access file shares in my VM from my VPN clients.

I tested my connection to the SMB port from my VPN clients, no problem with that.

Test-NetConnection -ComputerName 10.0.0.4 -Port 445
ComputerName : 10.0.0.4
RemoteAddress : 10.0.0.4
RemotePort : 445
InterfaceAlias : PoderSureMV-vnet
SourceAddress : 172.16.1.6
TcpTestSucceeded : True

I googled the internet without success, I tried several workarounds.
Can anybody point me in the right direction?

Regards
Juan

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

Accepted answer
  1. GitaraniSharma-MSFT 49,836 Reputation points Microsoft Employee
    2020-10-19T01:46:16.103+00:00

    Hello @jchipoco ,

    Welcome to Microsoft Q&A Platform. Thanks for posting your query.

    As mentioned here, when the connection is initiated, the VPN client adds the session credentials and the failure occurs. After the connection is established, the client is forced to use the cache credentials for Kerberos authentication. To work around the problem, disable the caching of domain credentials from the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\DisableDomainCreds - Set the value to 1  
    

    Hope this helps!

    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.