hardgcloud
Create a firewall rule to allow TCP traffic on a specific port within a VPC network
command
gcloud compute firewall-rules create RULE_NAME --allow tcp:PORT --network NETWORK_NAMEalso accepted
gcloud compute firewall-rules createcommand
gcloud compute firewall-rules create RULE_NAME --allow tcp:PORT --network NETWORK_NAMEalso accepted
gcloud compute firewall-rules createTest your recall — not just your reading.
Practice with interactive quiz →