简体   繁体   中英

Shared folder over azure VM

I tried to create a shared folder on azure VM via azure AD. I created a local machine and joined the domain and connected to vpn. I can ping machines with private IPs but I can not connect to the shared folder in any way.

Azure VM ipconfig and arp

local VM ipconfig and arp

Azure VM shared folder

local VM shared folder

Azure VM ping local machine

local machine ping Azure VM

Azure Virtual network (newADD2-vnet):

Address space 10.3.0.0/16

Subnets: DomainService 10.3.0.0/24, GatewaySubnet 10.3.1.0/24

Virtual network gateway(VNet1GW):

Point-to-site configuration: 10.50.0.0/24 Configured Root certificates

What could have gone wrong? What else can I check what may not work?

Thanks for your help DKU

Ensure port 445 is open : The SMB protocol requires TCP port 445 to be open; connections will fail if port 445 is blocked. You will need to ensure it's open on the VM firewall and open in the Network Security Group for the VM in Azure .

Add to the existing answer, except for firewall in Azure VM and NSG, you could check if the outbound rule for port 445 is blocking on the local machine. Also, avoid some typo when you input the UNC path.

You need to enable ports 139,445 (TCP) 138 and 137(UDP). Also, add an exclusion for the Windows defender .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM