gcloud compute firewall-rules list
SafeInspect GCP firewall rules
gcloud compute firewall-rules list
Lists VPC firewall rules — match ports and target tags when chasing reachability issues.
Examples
gcloud compute firewall-rules list --filter='allowed.ports:22'Rules allowing SSH
Syntax
gcloud compute firewall-rules [list|describe name]
Before you run it
Read only.
Related commands
- aws ec2 describe-security-groupsInspect security groups
- az network nsg rule listInspect NSG rules
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store