r/virtualization • u/GayCatgirl • Jun 04 '26
Qemu VM no internet
I am trying to get some VMs running but I am having an issue with networking. I have the VMs running well except for the fact that they don't have internet.
I'm using virt-manager QEMU/KVM. I've also tried using a USB WiFi adapter. I have tried many different network options including:
NAT with any device
NAT with just wlan0 or wlan1 specified
Routed with wlan1 or wlan0
I am unable to use bridged as this is a laptop with only WiFi.
I've also done everything on this page:
https://elbachir.org/src/artix\\_qemu.html
Along with editing /etc/libvirt/network.conf to have firewall_back end = "iptables"
Any ideas? This is Artix Linux with dinit. Virtualbox works fine out of the box without editing anything. I'd rather use open source though.
Edit: I am able to pass a USB WiFi adapter to the VM and get internet.
1
u/SlanderMans Jun 04 '26
Are you looking to run a Linux vm?
1
u/VirtualizedHypothest Jun 13 '26
Is your host running a VPN and/or youre connected to your router via WireGaurd or OpenVPN protocol (or VLESS)?
1
u/[deleted] Jun 06 '26
I have no idea, but I'd start by assuming it's probably it's a dinit thing.