Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as Disposable VM #26

Open
akkuladezeit opened this issue Oct 6, 2018 · 4 comments
Open

as Disposable VM #26

akkuladezeit opened this issue Oct 6, 2018 · 4 comments

Comments

@akkuladezeit
Copy link

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

@haplo
Copy link

haplo commented Oct 22, 2018

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?

@akkuladezeit
Copy link
Author

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

@tasket
Copy link
Owner

tasket commented Nov 11, 2018

@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.

@one7two99
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants