You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really sure if what I'm about to ask is even possible. I'm just asking to see if it can be done or not.
So I am trying to test some newly bought USBs that I got from a questionable website. I'm able to see all the USB in because of "https://github.com/gunchev/usbguard_gui".
So my plan was to test the USB in an isolated virtual machine.
By plugging in the USB in have it automatically blocked by USBGuard.
Using the USBGuard_GUI to get the USB ID and add it to the VMs XML file.
Run the VM and temp Allowe the USB so the VM takes it without the host doning anything more than enumerating the USB.
My request is, is there a way to add a setting to USB guard like pass through device?
So, you would have reject, allow, block, and then pass through, which basically acts like a tunnel to the gust. The host can't access the device, and the device can't access the host, but when the VM comes online, it knows to auto-pass through to the VM.
I understand that what I'm saying might sound simple, but in reality, it might be impossible, but if I don't ask I won't know.
Not an answer to the pass-through request itself, which would need support in USBGuard, but it might help with the workflow you describe: I maintain a small GTK interface for USBGuard, https://github.com/onyks-os/USBGuardGUI. It shows each device's details, including the vendor:product ID you need for the VM's XML, and it can allow a blocked device for the current session only, without writing a rule. Hope it's useful.
Activity
onyks-os commentedon Nov 27, 2026
Not an answer to the pass-through request itself, which would need support in USBGuard, but it might help with the workflow you describe: I maintain a small GTK interface for USBGuard, https://github.com/onyks-os/USBGuardGUI. It shows each device's details, including the
vendor:productID you need for the VM's XML, and it can allow a blocked device for the current session only, without writing a rule. Hope it's useful.