More detail needed in the create firewall docs
complete
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
Sharmita Das
complete
Dan Brian
Hi, thanks for the feedback! We've updated the example with tag usage. You will see it in the next release of doctl: https://github.com/digitalocean/doctl/pull/1625
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
The name of your stranger is Ainj Halla and I feel thank you
Zainalabden Zainalabden
Naas