LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gpclient

GlobalProtect VPN client for Linux

TLDR

Connect through a GlobalProtect portal
$ gpclient connect [vpn.example.com]
copy
Disconnect from the current session
$ gpclient disconnect
copy
Open the graphical interface
$ gpclient launch-gui
copy
Generate a HIP report, which some portals require before granting access
$ gpclient hip
copy
Work around legacy TLS renegotiation, which many portals still need
$ gpclient connect --fix-openssl [vpn.example.com]
copy
Proceed despite certificate errors
$ gpclient connect --ignore-tls-errors [vpn.example.com]
copy
Show the version
$ gpclient --version
copy
Read the help for one subcommand
$ gpclient help [connect]
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
hip
Generate a HIP (Host Integrity Protection) report
--fix-openssl
Apply workaround for OpenSSL legacy renegotiation
--ignore-tls-errors
Skip TLS certificate validation
-g, --gateway URL
Connect directly to this gateway instead of prompting
--auto-gateway
Automatically try gateways in priority order without prompting
-u, --user USERNAME
Specify username for authentication
--browser [BROWSER]
Use external browser for SSO authentication (chrome, firefox, default, or remote)
--as-gateway
Treat the server argument as a gateway instead of a portal

INSTALL

nix profile install nixpkgs#gpclient
copy

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 is part of the GlobalProtect-openconnect project, created as an open-source solution for Linux users needing to connect to GlobalProtect VPNs. It leverages OpenConnect's GlobalProtect protocol support (added in OpenConnect 8.0). The project was rewritten from Python/Qt to Rust and Tauri in its 2.x series.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid