Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_faq:libvirt_firewalld [2022/03/10 10:03]
admin created
linux_faq:libvirt_firewalld [2022/03/10 10:31] (current)
admin
Line 10: Line 10:
 error: internal error: firewalld is set to use the nftables backend, but the required firewalld 'libvirt' zone is missing. Either set the firewalld backend to 'iptables', or ensure that firewalld has a 'libvirt' zone by upgrading firewalld to a version supporting rule priorities (0.7.0+) and/or rebuilding libvirt with --with-firewalld-zone error: internal error: firewalld is set to use the nftables backend, but the required firewalld 'libvirt' zone is missing. Either set the firewalld backend to 'iptables', or ensure that firewalld has a 'libvirt' zone by upgrading firewalld to a version supporting rule priorities (0.7.0+) and/or rebuilding libvirt with --with-firewalld-zone
 </code> </code>
-Похоже - надо создать зону **libvirt** +Чтобы все запустилось - надо поменять **backend** в конфиге **firewalld** на **iptables**
-  sudo firewall-cmd --permanent --new-zone=libvirt +  sudo sed -'/FirewallBackend=/s/nftables/iptables//etc/firewalld/firewalld.conf 
-Дальше - можем поглядеть имя бриджа: +И перезапустить **firewalld** 
-  sudo virsh net-dumpxml default | grep 'bridge name+  sudo service firewalld restart 
-И изменить интерфейс зоны: +  sudo virsh net-start default
-  sudo firewall-cmd --zone=libvirt --change-interface=virbr0 +
  • linux_faq/libvirt_firewalld.txt
  • Last modified: 2022/03/10 10:31
  • by admin