Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidcueva/d83bc6cd6c94a8d9824113495612eb0e to your computer and use it in GitHub Desktop.
Save davidcueva/d83bc6cd6c94a8d9824113495612eb0e to your computer and use it in GitHub Desktop.
gcloud compute firewall-rules create allow-knox\
--project=${PROJECT_ID} --direction=INGRESS --priority=1000 \
--network=default --action=ALLOW --rules=tcp:8443 \
--target-tags=knox-gateway \
--source-ranges=<your-public-ip>/32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment