summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug_4543_nobind2
-rw-r--r--src/leap/bitmask/services/eip/vpnlauncher.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug_4543_nobind b/changes/bug_4543_nobind
new file mode 100644
index 00000000..bacd3624
--- /dev/null
+++ b/changes/bug_4543_nobind
@@ -0,0 +1,2 @@
+- Add --nobind as a VPN parameter to prevent binding on local
+ addresses. Fixes #4543. \ No newline at end of file
diff --git a/src/leap/bitmask/services/eip/vpnlauncher.py b/src/leap/bitmask/services/eip/vpnlauncher.py
index 07497814..99cae7f9 100644
--- a/src/leap/bitmask/services/eip/vpnlauncher.py
+++ b/src/leap/bitmask/services/eip/vpnlauncher.py
@@ -147,7 +147,8 @@ class VPNLauncher(object):
args = []
args += [
- '--setenv', "LEAPOPENVPN", "1"
+ '--setenv', "LEAPOPENVPN", "1",
+ '--nobind'
]
if openvpn_verb is not None: