diff options
author | Kali Kaneko <kali@leap.se> | 2018-01-16 23:40:42 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-01-25 01:19:11 +0100 |
commit | a57c73e33f4937a5050f76ca5224e88801db4afe (patch) | |
tree | 409f82090a0e50218c5cdda3e2503116a3e8a0fa /src/leap/bitmask/vpn/launcher.py | |
parent | 5ffa0c1710ce4038b94a026a58daf8f12aef2ec4 (diff) |
[feat] hardcode tcp4 in vpn connections
for now, we'll be hardcoding tcp as a more reliable alternative, no
matter what the provider announces.
explicitely specifying ipv4 should fix the case in which vpn fails to
start because ipv6 is disabled.
-Resolves: #9181, #9129
Diffstat (limited to 'src/leap/bitmask/vpn/launcher.py')
-rw-r--r-- | src/leap/bitmask/vpn/launcher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/launcher.py b/src/leap/bitmask/vpn/launcher.py index a8e7c1f5..48146453 100644 --- a/src/leap/bitmask/vpn/launcher.py +++ b/src/leap/bitmask/vpn/launcher.py @@ -153,7 +153,8 @@ class VPNLauncher(object): gateways = remotes for ip, port in gateways: - args += ['--remote', ip, port, 'udp'] + # we're hardcoding tcpv4 for now + args += ['--remote', ip, port, 'tcp4'] args += [ '--client', |