On 05/05/2017 09:24 PM, Gaiko Kyofusho wrote:
I have issues with my VPN connection dropping, or not starting back up
when my laptop comes out of sleep. I have had to resort to restarting
the VPN but its of course not as simple as restarting the VpnVM (I don't
think?). After some reading I added a line to my openvpn-client.ovpn:

resolv-retry infinite

but that doesn't seem to help the problem. Is there a way to restart
OpenVPN in the VpnVM with a command instead of haveing to either
shutdown or switch all VMs that are using the VpnVM (as a netvm), then
restarting the VpnVM (kind of a pain).

Thx

It depends on how you set up the VPN. If you used the Qubes doc instructions then you would need to open a terminal and do something like:

$ sudo pkill openvpn
$ sudo /rw/config/rc.local

Its also possible to change the rc.local script so it runs openvpn from a terminal window so you can easily see the status, stop it, etc.

OTOH, if you used instructions that include a systemd service like this:
https://github.com/tasket/Qubes-vpn-support

...then you can simply use 'systemctl' functions like stop/start/status to control openvpn.

--

Chris Laprise, tas...@openmailbox.org
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f0ac06a8-6e0d-df2f-4c94-e5eba2e52b7d%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to