Make files in AppVM persistent

23 visualizações
Pular para a primeira mensagem não lida

roger...@protonmail.com

não lida,
20 de abr. de 2019, 16:07:4820/04/2019
para qubes-users
Hi there

I am trying to make my vpn config and password file in /etc/openvpn persistent, so I can run openvpn as a service and it will connect on boot up.

I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/

..unfortunately the files disappear after the reboot.

Any ideas? How else could I solve my task?

Thanks for every help
Roger

roger...@protonmail.com

não lida,
20 de abr. de 2019, 16:08:5520/04/2019
para qubes-users
I am using the Debian template.

799

não lida,
20 de abr. de 2019, 16:32:1420/04/2019
para roger...@protonmail.com, qubes-users
Hello,

rogertobler via qubes-users <qubes...@googlegroups.com> schrieb am Sa., 20. Apr. 2019, 22:07:
I am trying to make my vpn config and password file in /etc/openvpn persistent (...)


I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/

..unfortunately the files disappear after the reboot.

You have applied the change in the template VM?
then shutdown the template?
And then restarted the AppVM?

The last step is important as only then changes to the template VM are picked up from the AppVM.

O/799

roger...@protonmail.com

não lida,
20 de abr. de 2019, 17:52:2720/04/2019
para qubes-users

I understood that TemplateBasedVM was the AppVM. However, I started the template VM, made the changes to bind-dirs, rebooted the template VM. Then started the app VM, copied the config files and rebooted the app VM, unfortunately the files where gone after the reboot.

unman

não lida,
20 de abr. de 2019, 20:29:1020/04/2019
para qubes-users
I think 799 is leading you astray.
Don't make the changes in the template.
bind-dirs is intended to work in the AppVM, (as I think you originally
tried).
You need to configure bind-dirs and restart the qube, *then* make any
changes that you want to make in /etc/openvpn.
You can check that the changes are there in /rw/bind-dirs/etc/openvpn.

unman

799

não lida,
21 de abr. de 2019, 03:13:1421/04/2019
para unman, qubes-users
Hello,

unman <un...@thirdeyesecurity.org> schrieb am So., 21. Apr. 2019, 02:29:
(...)

Don't make the changes in the template.
bind-dirs is intended to work in the AppVM, (as I think you originally
tried).
You need to configure bind-dirs and restart the qube, *then* make any
changes that you want to make in /etc/openvpn.
You can check that the changes are there in /rw/bind-dirs/etc/openvpn.

Sorry, my mistake ... With your hint, the documentations says it already:

(...) Inside your TemplateBasedVM (...)

Maybe it would be good to change this into:

(...) Inside your AppVM which is based on a Template (...) 

Additionally it seems that you need to run 6 steps, the numeration seems to be fixed, now it has two times 3 steps - I'll try to fix this in the GitHub repo.

O/799.
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem