I just got this working. There is a bug reported
which causes the pulse server to reject clients that do not present a content header of 256 bits on certain packets. This has been fixed in the source code, but has not been compiled into the ubuntu xenial releases yet (most likely other releases). to install from source I had to:
- copy vpnc-script from the following link to /etc/vpnc/vpnc-script
- chmod +x /etc/vpnc/vpnc-script
- clone the source
- cd openconnect
git checkout v7.08
sudo apt-get install automake libtool liblz4-1 libxml2-dev openssl libssl-dev
sudo ./configure You may need to add
--without-openssl-version-check to squelch a warning.
sudo make install
Then just run it from the directory you cloned into, for me:
sudo ~/code/openconnect/openconnect --juniper <server> -u <username>
I have been trying to make this work for months but I am now being given an IP address by our pulse app.