Skip to main content
Each sandbox has one network mode, fixed at create and shown as 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, including api.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 as 0.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.

Blocked

The sandbox has no network at all, not even DNS. Execs, files, logs, and metrics keep working: they don’t use the sandbox’s network.

Inbound Connections

Sandboxes accept no inbound connections, and ports can’t be exposed. Interact with a running sandbox through execs, WebSocket attach, and files.