summaryrefslogtreecommitdiff
path: root/pkg/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn')
-rw-r--r--pkg/vpn/openvpn.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vpn/openvpn.go b/pkg/vpn/openvpn.go
index 673dc2c..d4e6330 100644
--- a/pkg/vpn/openvpn.go
+++ b/pkg/vpn/openvpn.go
@@ -181,7 +181,8 @@ func (b *Bitmask) startOpenVPN() error {
"--ca", b.getTempCaCertPath(),
"--cert", b.certPemPath,
"--key", b.certPemPath,
- "--persist-tun")
+ "--persist-tun",
+ "--float")
/* persist-tun is needed for reconnects */
return b.launch.openvpnStart(arg...)
}