network command updates the egress, or outbound, rules of a running sandbox. Rules control which external destinations the sandbox can reach. They apply to one sandbox, by its ID, and take effect on the running sandbox.
Install the CLI and set the
PPIO_API_KEY and PPIO_DOMAIN environment variables before running these commands. See Install and authenticate.Usage
Arguments and options
Allowed outbound destination: an IP address or a CIDR range, such as
1.1.1.1 or 8.8.8.0/24. Repeat the option to allow several destinations.Denied outbound destination: an IP address or a CIDR range, such as
1.1.1.1 or 8.8.8.0/24. Repeat the option to deny several destinations.Examples
Output
The command fails when the sandbox ID does not exist. See Errors.