About firewall setting of VPC

365 views
Skip to first unread message

Admin Nexsol

unread,
Jun 3, 2022, 5:53:21 PM6/3/22
to gce-discussion
I've created vpc instance and installed cockpit.
I wanted to make it to be able to access to cockpit from particuler two gloval ip addresses.
Then I add a rule for 9090 port.
When I set ip ranges as "0.0.0.0/0" I can connect cockpit app.
But when I set ip ranges as "XXX.XXX.XXX.XXX/32" instead of  "0.0.0.0/0"  I couldn't connect.
So, I checked firewall log.
It seems like both packet are allowed.
I don't know what I can do.
Please help me out.

Gabriel Robledo Ahumada

unread,
Jun 7, 2022, 11:14:11 AM6/7/22
to gce-discussion

Are you testing from the XXX.XXX.XXX.XXX/32 address? From the description of your issue, it is not clear what you mean by global IP address, is that an HTTP(S) Load Balancer global IP address? Or did you mean a public IP address? 

Also, when you say set IP ranges, are you referring to the network or the source ranges? If it is the network, the IP address/range that should be configured there is the cockpit's public IP; if you are referring to the source range, then that should be the public IP address of the client testing.

Please take a look at how to Configure firewall rules for common use cases.

Reply all
Reply to author
Forward
0 new messages