openconnect is already installed with Fedora 26 Workstation, but it can’t connect to Globalprotect VPN (SSL) so we need to compile an own version of openconnect found on github.com . First, we need to install some dependencies for building:
sudo dnf install autoconf automake libtool openssl-devel libxml2-devel Then we use git to clone the source code:
git clone https://github.com/dlenski/openconnect.git
git checkout globalprotectAnd then build the source code, and install openconnect in the system:
./autogen.sh ./configure make sudo make install
To connect to your Globalprotect VPN server you need to specify --protocol=gp and also - sudo is important. Else openconnect can’t create the vpn-tunnel. You will be prompted for username and password, and to accept the certificate if you use a self signed one.
sudo /usr/local/sbin/openconnect --protocol=gp server.domain.com --dump -vvv Please enter your username and password Username: jonas Password: