mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
|
|
@ -24,7 +24,8 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To create a firewall rule allowing incoming TCP traffic on port 8080, run:
|
||||
|
||||
$ gcloud compute firewall-rules create FooService --allow=tcp:8080 \
|
||||
$ gcloud compute firewall-rules create example-service \
|
||||
--allow=tcp:8080 \
|
||||
--description="Allow incoming traffic on TCP port 8080" \
|
||||
--direction=INGRESS
|
||||
|
||||
|
|
@ -32,7 +33,7 @@ EXAMPLES
|
|||
determines a list of specific IP address blocks that are allowed to make
|
||||
inbound connections, run:
|
||||
|
||||
$ gcloud compute firewall-rules create "tcp-rule" --allow=tcp:80 \
|
||||
$ gcloud compute firewall-rules create tcp-rule --allow=tcp:80 \
|
||||
--source-ranges="10.0.0.0/22,10.0.0.0/14" \
|
||||
--description="Narrowing TCP traffic"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue