From 776447a9c03d969928b8fb124738969ebf265ca0 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 8 Jan 2018 18:01:07 +0100 Subject: [feat] try other gateways if the main one fails Removing '--persist-ip' param on openvpn it will try to connect to a different gateway if the first one fails. This means, that in case of network disconnection for some minutes bitmask will keep rotating between the different gateways and one the network comes back it will not connect anymore to the first one, but to the one that was trying at this moment. - Resolves: #9188 --- docs/vpn/index.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs/vpn') diff --git a/docs/vpn/index.rst b/docs/vpn/index.rst index e5549895..95eb08c2 100644 --- a/docs/vpn/index.rst +++ b/docs/vpn/index.rst @@ -38,6 +38,25 @@ You can list all the configured locations using the CLI:: This manual override functionality will be exposed through the UI and the CLI in release ``0.11``. +Gateway failures +----------------------------------- + +If Bitmask VPN fails to connect to one gateway it will try with the next +following gateway selection order. + +In case of connection loss Bitmask will keep trying to connect to each of the +gateways again and again until the connection comes back. When the connection +is back Bitmask will connect to the gateway that was trying at the moment. +In practice after a reconnection the gateway that Bitmask gets connected is +practically random. + +Turning the VPN down and up again after a reconnection ensures that Bitmask +will try again the first gateway. + +In the future Bitmask should become more in control of the reconnect process, +that currently is handled by openvpn, and detect reconnections to select the +gateways better. + Autostart --------- Autostart is not implemented yet in the 0.10 versions of Bitmask, but you can probably use -- cgit v1.2.3