More detail needed in the create firewall docs
Davy Durham
In the "doctl compute firewall create ..." docs, it's not clear how to specify a tag in the new rule. Does one specify "address:<tag>", even tho it's not a network address.
Secondly, I'd like to create a rule where the tag contains a ':' (e.g. the "k8s:worker" tag). Is the tool going to confuse the ':' in the tag name with another field specifier in the rule?
An example would suffice. Thanks
J
Jack Pearce
Hi Davy Durham
If you run a
doctl compute firewall create --help
you'll see some examples there.For example:
--inbound-rules protocol:tcp,ports:22,address:192.0.2.0/24
A comma-separated key-value list that defines an inbound rule. The rule must define a communication protocol, a port number, and a traffic source location, such as a Droplet ID, IP address, or a tag.
Available source keys are:
address
, droplet_id
, load_balancer_uid
, kubernetes_id
, and tag
.Zainalabden Zainalabden
اسمر دخيلك ا اسم عينج هلا وشعر اشكر
Zainalabden Zainalabden
Naes