The coach guides you without giving the cause away (in full versions, each hint costs 5 points).
“System error 53” means Windows could not even open a connection to the SMB server:
authentication has not been reached yet. From the branch, Test-NetConnection -Port 445 fails while
port 443 of the same account answers: Azure is reachable, only outbound port 445 is filtered
along the way. This is a common practice among consumer Internet providers (port 445 was used by
large worm outbreaks), and it is exactly what changed this weekend with the new router.
The key has been the same since March (and it works from the Azure VM), the share exists and the account firewall allows the branch's address: a key error would give “Access is denied” (error 5 or 86), a firewall refusal or a missing share an error after the TCP connection.
Incident resolved
Analysis and fix
Immediate fix: route SMB through the MasterLinux point-to-site VPN, which lands in the VNet where the account's private endpoint lives:
rasdial "VPN-MasterLinux-Azure";- check that the name now resolves to a private address (
Resolve-DnsName stmlagences.file.core.windows.net→ 10.20.1.5) and thatTest-NetConnection … -Port 445succeeds; - remount the drive:
net use Z: \\stmlagences.file.core.windows.net\documents /persistent:yes.
To prevent it from happening again:
- a permanent VPN for the branch: a site-to-site tunnel from the router (or an “Always On” VPN on the workstations) instead of SMB access over the Internet;
- or Azure File Sync on a small local server in the branch, which keeps a cache and only talks to Azure over HTTPS (443);
- eventually, disable public access on the account (
publicNetworkAccess Disabled) to accept only the private endpoint; - add “outbound port 445 open” to the checklist of every move or router change.