devvm network
Show or change the network tier of this folder’s VM
Synopsis
Show the network tier of this folder’s VM, which is open, internet, allowlist, none or unenforced, and then its allowlist, policy by policy: devvm’s built-in ones by name, then your files by path. With a tier, give the VM that tier: between the confined tiers at once, and into or out of open from the VM’s next start, so in a terminal devvm offers to restart a running VM now. With -g, show or change the tier new VMs get, allowlist unless you change it.
devvm network [open|internet|allowlist|none] [flags]Examples
devvm network # show the VM's network tier and allowlist
devvm network allow example.com # let the VM reach example.com
devvm network log --blocked # list what the VM's proxy blocked
devvm network internet # let the VM reach any public host
devvm network -g none # give every new VM the none tierOptions
-g, --global show or change new VMs' network tier instead
-h, --help help for network
--here use this folder's own VM, never that of a folder it's inside
--json print it as one JSON object, for scripts
--parent use the VM of the nearest folder this one is inside, even across a git repo of its ownOptions inherited from parent commands
--no-input never ask, and fail where devvm would ask, naming the flag that answers it
-v, --verbose show the output of the commands devvm runs instead of a status lineDocs
The docs page for devvm network explains it in full.
See also
- devvm: Open a shell in this folder’s VM, creating it first
- devvm network allow: Allow hosts for this folder’s VM
- devvm network deny: Deny hosts for this folder’s VM
- devvm network log: Show what this folder’s VM connected to and what its proxy blocked
- devvm network rm: Remove rules from this folder’s VM
Last updated on