On 05/06/2017 10:09 PM, Gaiko Kyofusho wrote:
Thx, I created it uisng the Qubes Doc instructions. So perhaps I could
combine the two lines you wrote to make it a bit shorter?
alias rstopvn="sudo pkill openvpn && sudo /rw/config/rc.local"
maybe?
In this case using a ';' semicolon between the commands instead of '&&'
makes sense, because openvpn may not be already running.
BTW, another thing you could do instead is to add an infinite loop to
the end of rc.local:
while true; do
sg qvpn -c "$VPN_CLIENT $VPN_OPTIONS"
done
Yet another thing you can try (because I'm recalling my early
experiences with openvpn) is to comment-out the "persist tun" line in
your ovpn file. Openvpn can experience problems trying to re-use tun
devices, and that can cause it to quit when trying to re-connect. This
is the simplest remedy.
--
Chris Laprise, [email protected]
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/ea76ecc9-79c2-7af2-2e31-2d0501d93249%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.