1 Answers
You definitely should be able to do this, yes!
To make sure your rule changes are affecting the right instances, start by relaxing it to 0.0.0.0/0. If that doesn’t work, you know you’re configuring the rules incorrectly. If that works, then you should look at the CIDR block you’re using in the rule.
To ensure that you’ve got the right IP range for your Cloud Shell, ping api.ipify.org
from Cloud Shell. The response should tell you how your outbound connections appear to the Internet–and to the network rules handling your ping inbound to the VPC.
Let me know how it goes!
Mattias