LinuxCommandLibrary

openconnect

SSL VPN client

TLDR

Connect to VPN

$ openconnect [vpn.example.com]
copy
Connect with username
$ openconnect -u [username] [vpn.example.com]
copy
Use certificate
$ openconnect -c [cert.pem] [vpn.example.com]
copy
Specify protocol
$ openconnect --protocol=[anyconnect|nc|gp] [vpn.example.com]
copy
Background mode
$ openconnect -b [vpn.example.com]
copy

SYNOPSIS

openconnect [options] server

DESCRIPTION

openconnect is an SSL VPN client. Compatible with Cisco AnyConnect.
The tool establishes VPN connections. Supports multiple protocols.

PARAMETERS

SERVER

VPN server address.
-u USER
Username.
-c CERT
Client certificate.
--protocol PROTO
VPN protocol.
-b
Run in background.
--help
Display help information.

CAVEATS

Requires root/sudo for tun device. Multiple protocol support.

HISTORY

openconnect was created as an open-source alternative to Cisco AnyConnect client.

SEE ALSO

openvpn(1), vpnc(1), wireguard(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community