vpnc-scripts patch to support split tunneling in windows.

Daniel Lenski dlenski at gmail.com
Tue Jun 23 13:09:04 EDT 2020

On Tue, Jun 23, 2020 at 10:04 AM Diego Garcia del Rio <garci66 at gmail.com> wrote:
> I meant the GitHub repo here: https://github.com/horar/vpnc-scripts. From what I understood horar was one of the devs and when I first found the GitHub repo I created the PR against that one.
> I will try to create an account on gitlab though and apply the patch there.
> You can see the PR on GitHub here : https://github.com/horar/vpnc-scripts/pull/5

Thanks. Yeah, Horar (aka Ľubomír Carik) has done a ton of work on
Windows support. Gitlab hosts the "official" upstream repositories for
OpenConnect and vpnc-scripts for various platform.

> I didn't think too much about corner cases to be honest, just using the example for split tunnel with included routes but built it for excluded routes using the same default gateway that is added For the VPN gateway. If that logic works it should work for the other excluded routes. Got it from this line: 124
> exec("route add " + env("VPNGATEWAY") + " mask " + gw);


> I'll see in more detail what's different with the gitlab repo that might not make it apply

Most likely it's just that we have subsequent/newer changes in the Gitlab repo.


More information about the openconnect-devel mailing list