QuestionQ45

VerifiedConfiguring, implementing and managing a cloud network security solution

A new VPC was created for the development team. Access to resources in this VPC must be permitted only through SSH.

How should the firewall rules be configured?

Explanation

Google Cloud VPC firewall evaluation includes an implied deny for ingress traffic to VM network interfaces. Therefore, allowing inbound TCP port 22—the SSH port—with a priority of 1000 permits SSH while other inbound traffic remains denied. Priority 1000 is the default VPC firewall-rule priority; a lower numeric priority has higher precedence, so an explicit deny-all rule at priority 0 would also block SSH.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!