{{tag>guides software openbsd bsd}} ====== OpenBSD/VMD ======= Enable VMD: *''rcctl enable vmd'' *''rcctl start vmd'' Enable 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.conf'' Create new VM: *''vmctl create -s 50G disk.qcow2'' *''vmctl start -m 2G -L -i 1 -c -r -d disk.qcow2 ''