Hi,<div><br></div><div>I just spend my day trying to get openconnect to work with windows (using cygwin). I may prepend: I successfully got a connection on linux, so the interoperability between openconnect and my vpn server should be save. unfortunately I have no access to this server.</div>
<div><br></div><div>Here is what I've done so far: I first installed cygwin with these packages: openssl,openssl-devel,libopenssl098,make,libxml2,libxml2-devel,libiconv,libiconv2,automake,make,gcc4.</div><div><br></div>
<div>I then cloned the latest git-revision and tried to compile. Of cause this failed :-(</div><div><br></div><div>Then I looked at vpnc and tried to understand what has to be done differently with cygwin. I think most changes should appear in the tun.c-file, most other files should be platform-independent. So I wrote some code to open the tun-device (copied a log from vpnc). I finally managed to compile openconnect. When trying to connect to the server, first everything seems fine. I'm getting the usual connection-messages, I'm being asked for my credentials, and finally (in verbose-mode) I'm getting X-CSTP-Information from my network. So this seems to be fine. </div>
<div><br></div><div>Then I'm being assigned an IP-Adress, and my vpnc-win-script manages to set these infos on my "TAP-Win32 Adapter V9". when looking at these information using ipconfig and route, everything seems to be fine. But I just can't manage to transfer any data. Unfortunately, I don't have access to the server, so I cannot do any logging on the server-side to validate if any packages arrive.</div>
<div><br></div><div>I've attached my patched tun.c, a slightly modified ssl.c, the vpnc-connect-scripts for windows and a log from my connection. Unfortunately I'm a git-noob, so I don't know what would be the best way to provide these files in a git-conform-way.</div>
<div><br></div><div><br></div><div>Any ideas on why I can't get any connection over the openconnect-tunnel?</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>orgler</div>