From 3ab02566f995713f3885e34a20e0069c75aca3b9 Mon Sep 17 00:00:00 2001 From: Daniel Lenski Date: Sat, 5 Sep 2020 12:05:13 -0700 Subject: [PATCH] Windows IPv6: remove hard-coded next-hop of fe80::8 Closes #6. This was added in 3d2c68280b591322021f157e1533473356f1e3ef, which originally added Windows IPv6 support. --- vpnc-script-win.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vpnc-script-win.js b/vpnc-script-win.js index 99946a8..ab81145 100644 --- a/vpnc-script-win.js +++ b/vpnc-script-win.js @@ -167,7 +167,7 @@ case "connect": echo("Configuring IPv6 networks:"); if (env("INTERNAL_IP6_NETMASK") && !env("INTERNAL_IP6_NETMASK").match("/128$")) { run("netsh interface ipv6 add route " + env("INTERNAL_IP6_NETMASK") + - " \"" + env("TUNDEV") + "\" fe80::8 store=active") + " \"" + env("TUNDEV") + "\" store=active") } if (env("CISCO_IPV6_SPLIT_INC")) { @@ -176,12 +176,12 @@ case "connect": var netmasklen = env("CISCO_SPLIT_INC_" + i + "_MASKLEN"); run("netsh interface ipv6 add route " + network + "/" + - netmasklen + " \"" + env("TUNDEV") + "\" fe80::8 store=active") + netmasklen + " \"" + env("TUNDEV") + "\" store=active") } } else { echo("Setting default IPv6 route through VPN."); run("netsh interface ipv6 add route 2000::/3 \"" + env("TUNDEV") + - "\" fe80::8 store=active"); + "\" store=active"); } echo("IPv6 route configuration done."); } -- 2.50.1