summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-09-06 12:59:26 +0200
committerKali Kaneko <kali@leap.se>2018-09-06 12:59:26 +0200
commit37724c47bb365e44896e20e3f20ee1975aeb531f (patch)
tree19a4cdb19b2ad8310af53996e78aee510ac51bb6
parentb7a7eb22b5d145d20083438c166d47ef3f793d8a (diff)
pull filter ignore ipv6
-rwxr-xr-xsrc/leap/bitmask/vpn/helpers/linux/bitmask-root4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/bitmask-root b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
index c76100af..8f9deb54 100755
--- a/src/leap/bitmask/vpn/helpers/linux/bitmask-root
+++ b/src/leap/bitmask/vpn/helpers/linux/bitmask-root
@@ -124,6 +124,8 @@ FIXED_FLAGS = [
"--user", "nobody",
"--persist-key",
"--persist-local-ip",
+ "--pull-filter", "ignore", "ifconfig_ipv6",
+ "--pull-filter", "ignore", "route_ipv6"
]
if OPENVPN_GROUP is not None:
@@ -567,6 +569,8 @@ def ip6tables(*args, **options):
def toggle_ipv6(status='disable'):
+ # XXX this has to be called after openvpn has been launched,
+ # otherwise openvpn fails on ip -6 addr step
if status == 'disable':
arg = 1
elif status == 'enable':