Windows Printing and Sharing Across Routed Subnets

You must open the Windows Firewall to permit SMB file and printer sharing across a router.

https://www.npcglib.org/~stathis/blog/2013/02/18/windows-task-sharing-files-across-different-subnets/