View Single Post
Posts: 32 | Thanked: 9 times | Joined on Nov 2009 @ Norway
#23
Originally Posted by deadmalc View Post
i would prefer an option in the applet to auto start openvpn if there is an active network connection, and disable if connection goes.
reason is if i am abroad where roaming applies and therefore i dont have network connectivity always, having openvpn bouncing all the time will drain battery uneccesarily wont it?
Well if there is no active connection then I assume openvpn will fail after pinging for a little while (ping/ping-exit options), then sleep for ping-restart seconds (defaults to 120) before reconnecting. I wouldn't assume that this will have a particularly large affect on the battery.

On the other hand IF openvpn is configured to use if-up.d/if-down.d then it should be stopped then restarted when a network connection goes up or down; which perhaps should be the default with or without the applet.