I've set up Windows Server 2016 VM instance on Google Cloud Compute Engine. I've set up a static IP for that server. I have also set up Public Folder sharing with the proper permissions in Windows OS.
I have created a firewall rule:
name; allow-smb
network; default
source filter; allow from any source (0.0.0.0/0)
allowed protocols and ports; udp:137; udp:138; tcp:139; tcp:445
I am able to access the shares from other local VM instances in GCE using the servers internal IP address as such: \\<server-internal-ip>\users
But from my local computer, I am not able to access the shares via \\<server-external-ip>\users
I have disabled the Windows firewall for testing. I have also (very temporarily) set the allowed protocols and ports; tcp:0-65535; udp:0-65535; icmp
Nothing has worked when accessing from local computer.
What I am trying to do, is map the shared network from from the GCE Instance to my local computer.
Is that possible to do? If yes, any recommendations or suggestions to help me out?
Hi Rocky,
That is indeed a very interesting topic.
I have tried to recreate the issue you have mentioned by setting up a Windows 2016 Server VM in GCE and set that as the destination machine. I have also set up another windows machine in a separate GCP project to use it as source machine. Then I have allowed the firewall rule you have described in both the project. I was able to successfully reach destination machine from source machine and also was able to use the shares of destination machines by using your shared command below; which did not require me to change anything from windows firewall even.
\\[destination machine’s IP]\userSo, at this point, my suggestion would be to check to test the same from another project and thus from another source setup. By another source setup, I would mean different source network and different source machine.
Let me know if it helps.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/de46d55f-cb41-43ba-8e33-1656e902ff4f%40googlegroups.com.