Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qemu, virtual manager not working - maybe firewall issue?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 915
Location: Alaska

PostPosted: Mon Mar 10, 2025 5:11 am    Post subject: Qemu, virtual manager not working - maybe firewall issue? Reply with quote

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 {
        }
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum