hunky l33t


Joined: 19 Nov 2003 Posts: 915 Location: Alaska
|
Posted: Mon Mar 10, 2025 5:11 am Post subject: Qemu, virtual manager not working - maybe firewall issue? |
|
|
A few months ago I had Qemu (virtual manager) working on my Gentoo host - doing a Win10 guest. Haven't tried it in awhile, but had a need today and now it won't start - network default not working. The message seems to point to a firewall issue but I'm a bit at a loss as to how to proceed or fix it. Here is the message:
Code: | Error starting network 'default': internal error: Failed to apply firewall command 'nft add chain ip libvirt_network guest_nat '{ type nat hook postrouting priority 100; policy accept; }'': Error: No such file or directory; did you mean chain 'guest_input' in table ip 'libvirt_network'?
add chain ip libvirt_network guest_nat { type nat hook postrouting priority 100; policy accept; } |
Looks like I need to give it a priority of 100 and policy accept.. but I don't know if at all that is correct or how to do it. Not sure what changed since I last had it working, other than routine computer updates (and installing docker).
thanks!
If this helps at all:
Code: | # nft list table ip libvirt_network
table ip libvirt_network {
chain forward {
type filter hook forward priority filter; policy accept;
counter packets 1131 bytes 872606 jump guest_cross
counter packets 1131 bytes 872606 jump guest_input
counter packets 1131 bytes 872606 jump guest_output
}
chain guest_output {
}
chain guest_input {
}
chain guest_cross {
}
chain guest_nat {
}
}
|
|
|