On 05/05/2017 06: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 > > -- > 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 > <mailto:qubes-users+unsubscr...@googlegroups.com>. > To post to this group, send email to > qubes-users@googlegroups.com > <mailto:qubes-users@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qubes-users/CAGpWZxOZTuWJGhFfGTbf-PVmtx8uTkLH_aRtMhap1%3DF4P3oONw%40mail.gmail.com > <https://groups.google.com/d/msgid/qubes-users/CAGpWZxOZTuWJGhFfGTbf-PVmtx8uTkLH_aRtMhap1%3DF4P3oONw%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout.
I had this same issue, and solved it by including the line from Chris in my rc.local file (sudo pkill openvpn), and making a keyboard shortcut in dom0 to re-run rc.local in my VPN VM. The command that you want to bind your keyboard shortcut is as follows: qvm-run -u root sys-vpn "/rw/config/rc.local" Change sys-vpn to the name of your VPN VM. This all assumes you followed the iptables and CLI scripts section of the Qubes VPN docs: https://www.qubes-os.org/doc/vpn/ That section also sets up VPN as soon as your VPN VM launches and prevents any non-VPN traffic from leaking so I highly recommend it! Andrew Morgan -- 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/oejh52%24hma%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature