How can I block internet acces for Windows Guest VM in libvirt-manger?

I have a Windows 10 Guest VM in virt-manager. I have the default virtual network(NAT). I would like to block internet access in the guest, but keep two-way traffic(because I want to use Samba). The options available to me in virt-manager are: NAT, Routed, Isolated, Open, and SR-IOV pool. How can I block internet access for Windows but keep Samba working?

What is “too-way traffic”? Between which systems?

If you mean traffic between guest and host, Isolated should work.

1 Like

Yes, I meant two-way traffic between guest and host. Indeed, Isolated works as desired. Thank you!