openconnect (-gui?) on Windows CLI?

Martin Pauly pauly at hrz.uni-marburg.de
Wed Jun 11 07:05:36 PDT 2025


Hi,

first of all, many thanks for the wonderful openconnect software family.
is there currently some pre-compiled release available for the Windows CLI?
https://gitlab.com/openconnect/openconnect/-/jobs/artifacts/master/raw/openconnect-installer-MinGW64-GnuTLS.exe?job=MinGW64/GnuTLS
(as shown on https://www.infradead.org/openconnect/packages.html and https://gitlab.com/openconnect/openconnect)
gives me HTTP 404 not found.

I tried to go with openconnect-gui 1.6.2, but ran into other issues:
When I try to connect to our new Cisco ASA (Firepower Hardware, running ASA OS 9.23.1.3)
the ASA complains about openconnect being an
Unknown client <AnyConnect-compatible OpenConnect GUI VPN Agent v9.12>
which results in a HTTP 401 unauthorized.

The reason I would like CLI on Windows may sound a bit strange:
I am currently trying to track down an issue with Cisco's "Start Before Logon" feature.
It is hard to obtain _any_ information on a non-yet-logged-on Windows machine. Years ago, I learned to get a CLI by SSHing
into the Windows Machine "sideways" by using the then all-new OpenSSH Service. That helped to reveal a hidden routing
bug in the setup. This time, I would like to replace the whole Pre-Login VPN connection with an openconnect one.
I think I read about an openconnect-gui option  -s <profile> a while ago, but cannot find that doc any more.

Sorry if I missed some trivial docs.

Thanks, Martin

--
   Dr. Martin Pauly     Phone:  +49-6421-28-23527
   HRZ Univ. Marburg    Fax:    +49-6421-28-26994
   Hans-Meerwein-Str.   E-Mail: pauly at HRZ.Uni-Marburg.DE
   D-35032 Marburg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4478 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20250611/0c46d1b6/attachment.p7s>


More information about the openconnect-devel mailing list