dlenski / openconnect

OpenConnect client extended to support Palo Alto Networks' GlobalProtect VPN
679 stars 130 forks source link

how can we compile it for windows #152

Closed ilovefood2 closed 4 years ago

ilovefood2 commented 5 years ago

I'm looking for a windows commandline version of openconnect, but i can't seem to find any. so I'm thinking there should be a way to compile it from source for windows version. Could anyone please help with how to achieve it ?

thanks

dlenski commented 5 years ago

https://github.com/openconnect/openconnect-gui includes a CLI build for Windows.

ilovefood2 commented 5 years ago

yes, but that's v7 though, i'm thinking about a v8 though

ilovefood2 commented 5 years ago

i tried with https://github.com/openconnect/openconnect-gui and compiled from script, somehow still not able to connect to globalprotect

ilovefood2 commented 5 years ago

i figured out, based on https://github.com/openconnect/openconnect-gui/tree/develop/contrib the compiled windows works fine with other ssl vpn, but globalprotect does not work, it turned out the vpnc-script-win.js has errors with adding gateway and dns server address. Once modified according to globalprotect gateway, it worked fine then.

thank you case closed.