tasket / Qubes-vpn-support

VPN configuration in Qubes OS
GNU General Public License v3.0
127 stars 28 forks source link

OpenVPN exponential re-connection delays #18

Closed tasket closed 6 years ago

tasket commented 6 years ago

OpenVPN v2.4 changes the delay between unsuccessful connection attempts so the delay rises exponentially. This impacts users in situations like disabling network access for more than a few minutes: openvpn will change the delay to 5 mins and the service will appear not to want to restart when the user re-enables the network.

Options like --connect-retry X Y must be used to prevent excessive delays for these use cases.

tasket commented 6 years ago

Also add --keepalive so interrupted connections don't wait excessively >1min.

tasket commented 6 years ago

"Not a bug", but better control it. https://community.openvpn.net/openvpn/ticket/940

tasket commented 6 years ago

Fixed in beta4.