diff --git a/scripts/firecracker-netpool.sh b/scripts/firecracker-netpool.sh index bcf201c..2d2ce7c 100755 --- a/scripts/firecracker-netpool.sh +++ b/scripts/firecracker-netpool.sh @@ -163,7 +163,12 @@ _install_nft() { # input: a VM never needs host-local delivery (its gateway is # reached via DNAT->forward), so drop all direct input from VMs # -> host services bound on 0.0.0.0 are unreachable from the VM. + # Delete-first (create empty, delete, recreate) so a re-applied `up` + # lands identical state instead of appending rules / erroring on the + # existing base chains — the setup is idempotent regardless of history. nft -f - <