diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-09-13 00:05:12 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-09-15 23:40:03 +0200 |
commit | 0ca001c29e6ce7ab9de76639ef93bda79af51504 (patch) | |
tree | 2449e535b9034acf6a0f0861284c1c2b04ebbaec /src/leap/bitmask/vpn/helpers/linux/bitmask-root | |
parent | af552318d44de3579d9b168d8cd9ad18a443d733 (diff) |
[bug] get the VPN restart working again
Don't persist-tun on the vpn, so it can restart properly. Also let's
match better the options that are sent and taken into account from
bitmask-root.
- Resolves: #9048
Diffstat (limited to 'src/leap/bitmask/vpn/helpers/linux/bitmask-root')
-rwxr-xr-x | src/leap/bitmask/vpn/helpers/linux/bitmask-root | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/bitmask-root b/src/leap/bitmask/vpn/helpers/linux/bitmask-root index 19b1376e..21cfe56f 100755 --- a/src/leap/bitmask/vpn/helpers/linux/bitmask-root +++ b/src/leap/bitmask/vpn/helpers/linux/bitmask-root @@ -106,7 +106,8 @@ FIXED_FLAGS = [ "--script-security", "1", "--user", "nobody", "--persist-key", - "--persist-tun", + "--persist-local-ip", + "--persist-remote-ip", ] if OPENVPN_GROUP is not None: @@ -124,6 +125,7 @@ ALLOWED_FLAGS = { "--ca": ["FILE"], "--fragment": ["NUMBER"], "--keepalive": ["NUMBER", "NUMBER"], + "--verb": ["NUMBER"], } PARAM_FORMATS = { |