Assumed I run a Windows guest in a QEMU
virtual machine on a Debian host. Hereby the Debian host is a common desktop computer with internet access.
How can I set up a SFTP
file exchange between guest and host but prevent the guest (= Windows) from accessing the internet?
- Set up a Virtual Network Interface (NIC) for the belonging Windows machine in
virt-manager
(default setting is networkNAT
with devicevirtio
) - Install network driver in guest machine (Windows)
- Install WinSCP in the guest machine (Windows)
But what then? Where can I prevent public internet access only for this guest? Is this already possible in virt-manager
without messing up the host firewall?
Several other guest machines should not be affected by this.