Advanced Security Features (CLI)
Advanced Security Feature for the Anka CLI.
Block VM to VM and VM to Host communication
You may wish to disable the ability for VMs or VMs and the Host to communicate. This can be done with --no-local
under modify {VM} network
.
> anka modify 13.1-openjdk-11.0.14.1-jenkins network --help
usage: network [options]
Modify network card settings
options:
-t,--mode <val> network mode: shared/host/bridge/disconnected
-b,--bridge <val> host interface name to bridge with in the bridge mode, or "auto"
-m,--mac <val> specify fixed MAC address, or "auto"
-v,--vlan <val> assign VLAN ID, 0 to deassign
-c,--controller <val> set controller: anet, virtio-net
--local enable (default) inter-VM and VM-host communication
--no-local disable inter-VM and VM-host communication