ref.
Fields
Constraints
nameis required and must be 1 to 60 characters.- Each entry must be an IPv4 address or an IPv4 CIDR block. IPv6 is not accepted.
- Each entry is 7 to 18 characters, and entries in a list must be unique.
- On create, the API requires at least one entry in both
allowanddeny. In YAML, a list that is present needs at least one entry.
Referenced by
For a Trunk, Connect accepts a call from the PSTN only when its source address is inside one of the
allow entries. The source is the top Via received value, or the Via host when received is absent. Connect does not evaluate the deny list. A call from outside the allow list gets 401 Unauthorized without a challenge.
YAML example
The following ACL allows a single provider network.rctl equivalent
Run the interactive create command and answer the prompts. Enter networks as a comma-separated list.rctl acl for the prompts and the other actions.