Thank you so much. This is purely command line client. no GUI nonsense.
sudo openconnect --protocol=anyconnect --authgroup=<group-name> <vpn-server>
And guess what - its compatible with lot more than just cisco. This is great!!
sudo openconnect
No server specified
Usage: openconnect [options] <server>
Open client for multiple VPN protocols, version v8.20-1
Using GnuTLS 3.7.3. Features present: TPMv2, PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP
--config=CONFIGFILE Read options from config file
-V, --version Report version number
-h, --help Display help text
Set VPN protocol:
--protocol=anyconnect Compatible with Cisco AnyConnect SSL VPN, as well as ocserv (default)
--protocol=nc Compatible with Juniper Network Connect
--protocol=gp Compatible with Palo Alto Networks (PAN) GlobalProtect SSL VPN
--protocol=pulse Compatible with Pulse Connect Secure SSL VPN
--protocol=f5 Compatible with F5 BIG-IP SSL VPN
--protocol=fortinet Compatible with FortiGate SSL VPN
--protocol=array Compatible with Array Networks SSL VPN
OpenConnect is an SSL VPN client initially created to support Cisco’s
AnyConnect SSL VPN. It has since been extended to support the Pulse Connect
Secure VPN (formerly known as Juniper Network Connect or Junos Pulse), the Palo
Alto Networks GlobalProtect SSL VPN, F5 Big-IP SSL VPN, Fortinet Fortigate SSL
VPN and Array Networks AG SSL VPN.
And once connection is successful - you get pretty nice message in end
CSTP connected. DPD 30, Keepalive 20
UDP SO_SNDBUF: 27800
DTLS initialised. DPD 30, Keepalive 20
Established DTLS connection (using GnuTLS). Ciphersuite (DTLS1.2)-(ECDHE-RSA)-(AES-256-GCM).
Configured as XXXX, with SSL connected and DTLS connected
Session authentication will expire at Fri Nov 22 22:24:26 202