A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method. Inspired by gp-saml-gui.
- Better Linux support
- Support both CLI and GUI
- Support both SSO and non-SSO authentication
- Support multiple portals
- Support gateway selection
- Support auto-connect on startup
- Support system tray icon
The CLI version is always free and open source in this repo. It has almost the same features as the GUI version.
Usage: gpclient [OPTIONS] <COMMAND>
Commands:
connect Connect to a portal server
disconnect Disconnect from the server
launch-gui Launch the GUI
help Print this message or the help of the given subcommand(s)
Options:
--fix-openssl Get around the OpenSSL `unsafe legacy renegotiation` error
-h, --help Print help
-V, --version Print version
See gpclient -h
for help.
The GUI version is also available after you installed it. You can launch it from the application menu or run gpclient launch-gui
in the terminal.
Note
The GUI version is partially open source. Its background service is open sourced in this repo as gpservice. The GUI part is a wrapper of the background service, which is not open sourced.
sudo add-apt-repository ppa:yuezk/globalprotect-openconnect
sudo apt-get update
sudo apt-get install globalprotect-openconnect
Download the latest deb package from releases page. Then install it with dpkg
:
sudo dpkg -i globalprotect-openconnect_*.deb
Install from AUR: globalprotect-openconnect-git
Download the latest package from releases page. Then install it with pacman
:
sudo pacman -U globalprotect-openconnect-*.pkg.tar.zst
The package is available on COPR for various RPM-based distributions. You can install it with the following commands:
sudo dnf copr enable yuezk/globalprotect-openconnect
sudo dnf install globalprotect-openconnect
The package is also available on OBS for various RPM-based distributions. You can follow the instructions on this page to install it.
Download the latest RPM package from releases page.
The project depends on openconnect
, webkit2gtk
, libsecret
, libayatana-appindicator
or libappindicator-gtk3
. You can install them first and then download the latest binary release (i.e., *.bin.tar.gz
) from releases page.
The 1.x version is still available on the 1.x branch, you can build it from the source code by following the instructions in the README.md
file.
GPLv3