Virtual machines using libvirt have no internet if the host uses UFW
This is a known bug 5. “Workaround” is to change the firewall with firewalld or to disable UFW.
Another easier workaround is to edit /etc/libvirt/network.conf, and add
firewall_backend = “iptables”
2 Likes