31 lines
1.9 KiB
Markdown
31 lines
1.9 KiB
Markdown
# Isolated network sandbox
|
|
|
|
`./jeannie network-sandbox plan` reports the intended guest identities and
|
|
host prerequisites. `prepare` creates the isolated VLAN-aware `vmbr9` and
|
|
SSD-backed `jeannie-sandbox` storage after running the sandbox unit checks.
|
|
The bridge is transient and the storage definition persists across reboot.
|
|
|
|
`./jeannie network-sandbox provision` creates OpenWrt VM 9100 and Alpine ARM64
|
|
containers 9110 and 9111 on VLANs 10 and 20. It requires an empty, marked
|
|
`vmbr9`, the expected writable SSD, the sandbox storage definition, available
|
|
guest IDs, KVM, and an SSH public key. It verifies downloaded images against
|
|
checksums retrieved from the official distribution servers. It never adopts or
|
|
overwrites existing guest IDs, and preserves partially created resources on
|
|
failure for inspection.
|
|
|
|
**Guests are created stopped and the OpenWrt WAN virtual link is disconnected.**
|
|
`network-sandbox start` starts only the dedicated sandbox guests after verifying
|
|
their identity, isolation and host routes; `stop` stops only those guests.
|
|
`network-sandbox verify` checks running guests, the disconnected WAN setting,
|
|
live bridge VLAN assignments, client addresses, and cross-VLAN ICMP replies.
|
|
An ICMP timeout is only an observation and does not prove firewall isolation.
|
|
These lifecycle commands are independent of K3s. The cluster runtime guard
|
|
checks declared control-plane and worker VM IDs and Pimox cluster VM names;
|
|
it does not depend on sandbox guests, bridge, storage, or health. Keep custom
|
|
cluster guests declared in the inventory or VM ID overrides so that the guard
|
|
recognizes them. The WAN stays disconnected; internet access is not yet
|
|
implemented because firewall and VLAN isolation require end-to-end validation.
|
|
The existing cluster bridge, host addresses, and existing VM disks are not
|
|
modified by this workflow. Download and disk-import staging files remain under
|
|
`/data/jeannie/network-sandbox` after provisioning.
|