Qubes-vpn-support icon indicating copy to clipboard operation
Qubes-vpn-support copied to clipboard

as Disposable VM

Open akkuladezeit opened this issue 5 years ago • 4 comments

i tryed to setup as an disposable VM, but the vm is stop immediately.

akkuladezeit avatar Oct 06 '18 11:10 akkuladezeit

My guess is that a DispVM halts when the program for which the VM was started exits, and qubes-vpn-support runs in the background so its starting script exits.

Can I ask what is the use case for a VPN-in-a-DispVM?

haplo avatar Oct 22 '18 16:10 haplo

why not? i got may locations to connect. all should be seperated. I cant ceate over 50vms ... so i thought i build an script to start/create the VM

akkuladezeit avatar Nov 05 '18 13:11 akkuladezeit

@akkuladezeit If you don't need to connect to many VPNs at once you could change the link at ../vpn/vpn-client.conf to point to whichever location you need at the moment (using a regular proxyVM).

An alternative workaround is to launch a terminal for each dispVM connection, which should keep the dispVMs running.

Yet another workaround is to use one of my other tools Qubes-VM-hardening to populate the desired VPN config at VM startup... its simply a matter of putting the conf files in dirs named after the VPN VMs you intend to use.

tasket avatar Nov 11 '18 03:11 tasket

Using the script in a disposable VM will work. The best way to do so is to use a named disposable VM. If you need further instruction how do do so, I can send you a how-to (von template based on fedora-33-minimal)

one7two99 avatar Jul 29 '21 06:07 one7two99