On Sun, Feb 16 2020, bill...@gmail.com wrote:
> Qubes folk,
>
> So, I have a debian-based untrusted vm that is attached to a mullvad
> vpn through Sweden; the mullvad vpn gets its networking from sys-
> firewall (i.e. sys-net -> sys-firewall -> mullvad-vpn -> untrusted vm.
>
> I have another “local” vm that is directly attached to sys-firewall
> (i.e sys-net -> sys-firewall -> local vm). Nothing other than sys-usb
> starts automatically on boot.
>
> The mullvad-vpn is a standalone vm, set up per the Qubes mullvad
> instructions, while the untrusted and local vms are based on the
> debian-10 template.
>
> I’m running Qubes release 4.0.2.
>
> When I change locations without rebooting the box and switch wireless
> networks, the sys-net, sys-firewall, and local vms automatically
> update. Unfortunately, the mullvad-vpn vm does not update
> automatically. In order to get networking on the untrusted vm, I have
> to kill it and the mullvad-vpn vm, and restart them – which means I
> have to kill any running apps, which is a pain when I’m doing big image
> tasks in the background.
>
> Is there a way to tell a standaloneVM like my mullvad-vm to either
> update automatically, or a command to get it to re-set its networking
> to a changed sys-firewall vm?
>
> Thanks,
>
> billo
Hi,
You can switch the ’netvm’ of any VM on the fly with Qubes Manager or
via command line
`[user@dom0 ~]$ qvm-prefs “vmname” netvm none`
then switch back when ready.
–