hardgcloud
Update an existing VPC firewall rule to change allowed protocols or ports
command
gcloud compute firewall-rules update RULE_NAME --allow PROTOCOL:PORTalso accepted
gcloud compute firewall-rules updatecommand
gcloud compute firewall-rules update RULE_NAME --allow PROTOCOL:PORTalso accepted
gcloud compute firewall-rules updatePart of the Google Cloud CLI (gcloud) — Networking category.
| Flag | Purpose |
|---|---|
--allow | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →