ix vm set
Change VM settings: the north-south internet on/off toggles
Usage: ix vm set [OPTIONS] <VM>
Change VM settings: the north-south internet on/off toggles.
ix vm set <name> --internet-ingress off makes the host drop inbound internet traffic to the VM; --internet-egress off drops outbound. East-west group traffic (ix group) and the ix control plane (shell, exec, and the SDK's session plane) keep working either way. There is deliberately no per-port grammar here: to expose only specific ports, front the VM with a reverse proxy such as the ix/gateway stock image and turn ingress off on the workload VM.
arguments
<VM>VM name or UUID fromix ls
options
--internet-ingress <INTERNET_INGRESS>Allow (on) or drop (off) inbound internet traffic to the VM one of: on, off--internet-egress <INTERNET_EGRESS>Allow (on) or drop (off) outbound internet traffic from the VM one of: on, off--output <OUTPUT>Output format one of: human, json default: human--message-format <MESSAGE_FORMAT>Error format one of: human, short, json default: human