Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Whonix Kvm


Tux

Kvm/Libvirt

Here -> Kvm

Download

License Agreement

tar -xvf Whonix*.libvirt.xz
touch WHONIX_BINARY_LICENSE_AGREEMENT_accepted 

Importing Whonix VM Templates

  • Add the virtual networks:
sudo virsh -c qemu:///system net-define Whonix_external*.xml ;
sudo virsh -c qemu:///system net-define Whonix_internal*.xml
  • Activate the virual networks
sudo virsh -c qemu:///system net-autostart Whonix-External ;
sudo virsh -c qemu:///system net-start Whonix-External ;
sudo virsh -c qemu:///system net-autostart Whonix-Internal ;
sudo virsh -c qemu:///system net-start Whonix-Internal 
  • Import the Whonix Gateway and Workstation images
sudo virsh -c qemu:///system define Whonix-Gateway*.xml ;
sudo virsh -c qemu:///system define Whonix-Workstation*.xml 

Image File Installation

  • Option 1: Slow
sudo mv Whonix-Gateway*.qcow2 /var/lib/libvirt/images/Whonix-Gateway.qcow2 ;
sudo mv Whonix-Workstation*.qcow2 /var/lib/libvirt/images/Whonix-Workstation.qcow2 
  • Option 2: Recommended Con root:
sudo su
cp Whonix*.qcow2.libvirt.xz /var/lib/libvirt/images/
cd /var/lib/libvirt/images/
tar -xvf Whonix*.qcow2.libvirt.xz 
rm WH* Wh*.xml Wh*.xz
mv Whonix-Workstation*.qcow2 Whonix-Workstation.qcow2
mv Whonix-Gateway*.qcow2 Whonix-Gateway.qcow2

Extra

Solo modificar cosas como ram o cpu.

Pasar Archivos

Existen 2 formas:

  • virtio-9p: Mas antigua y mas lenta
  • virtio-fs: Mas nuevo y rapido. A costo de tener que activar Shared memory. que puede afectar a la seguridad asi que ir con precaucion.

Settings -> Add hardware -> Filsesystem -> virtio-9p/virtio-fs