Enable VMD:
rcctl enable vmdrcctl start vmdEnable networking:
sysctl net.inet.ip.forwarding=1/etc/pf.conf: dns-server = "1.1.1.1"
match out on egress from 100.64.0.0/10 to any nat-to (egress)
pass in proto { udp tcp } from 100.64.0.0/10 to any port domain \
rdr-to $dns-server port domain
pfctl -f /etc/pf.confCreate new VM:
vmctl create -s 50G disk.qcow2vmctl start -m 2G -L -i 1 -c -r <PATH TO ISO> -d disk.qcow2 <VM NAME>