network_mode. Every mode denies inbound connections and access to Telnyx internal addresses.
block_network and cidr_allowlist can’t be combined.
Public
The default. The sandbox reaches any public internet address, includingapi.telnyx.com and Telnyx Cloud Storage, and resolves names through public DNS resolvers. Internal addresses are never reachable or resolvable.
Allowlist
- Outbound traffic is allowed only to the listed CIDRs.
- Internal ranges are always excluded. A CIDR that lies entirely inside them fails with
422 cidr_not_allowed. A CIDR that contains internal ranges, such as0.0.0.0/0, is allowed minus those ranges. - DNS isn’t included. Add your resolvers’ addresses to the list, or connect to IP addresses directly.