LinuxCommandLibrary

gpclient

GlobalProtect VPN client for Linux

TLDR

Connect to a GlobalProtect VPN using a portal server

$ gpclient connect [vpn_gateway_url]
copy
Disconnect from the currently connected VPN server
$ gpclient disconnect
copy
Launch the graphical user interface for VPN management
$ gpclient launch-gui
copy
Use OpenSSL workaround to bypass legacy renegotiation errors
$ gpclient connect --fix-openssl [vpn_gateway_url]
copy
Ignore TLS errors during connection
$ gpclient connect --ignore-tls-errors [vpn_gateway_url]
copy
Display version
$ gpclient --version
copy
Display help for any command
$ gpclient help [command]
copy

SYNOPSIS

gpclient command [options]

DESCRIPTION

gpclient is a Linux client for Palo Alto Networks GlobalProtect VPN, built on top of OpenConnect. It provides both command-line and graphical interfaces for connecting to corporate VPN gateways that use GlobalProtect.
The client supports SAML authentication, two-factor authentication, and both portal and gateway connections. It is an open-source alternative to the official GlobalProtect client, which has limited Linux support.

PARAMETERS

connect URL

Connect to GlobalProtect VPN gateway
disconnect
Disconnect from current VPN session
launch-gui
Open graphical interface
--fix-openssl
Apply workaround for OpenSSL legacy renegotiation
--ignore-tls-errors
Skip TLS certificate validation
--gateway URL
Specify gateway URL directly
--user USERNAME
Specify username for authentication

CAVEATS

Requires OpenConnect with GlobalProtect support. Some authentication methods (like hardware tokens) may have limited support. The --ignore-tls-errors option should only be used for testing as it bypasses security.

HISTORY

gpclient (GlobalProtect-openconnect) was created as an open-source solution for Linux users needing to connect to GlobalProtect VPNs. It leverages OpenConnect's GlobalProtect protocol support, which was added in OpenConnect 8.0.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community