Browser script for connecting to Juniper Pulse Connect Secure VPN using OpenConnect. Works even with the most hostile two-factor-authentication schemes.
It's a user script installed to a browser which steals the session cookie and shows the user a oneliner for connecting to that VPN using open-source OpenConnect. No more shady Java applets.
- Install OpenConnect 7.08 or newer. Run
sudo apt install openconnect
if you are using Debian or Ubuntu. - Install Greasemonkey for Firefox or Tampermonkey for Chrome/Chromium.
- Click pulse-openconnect.user.js
- Click Raw
- Click Install
Remember to use a browser which has the script installed.
- Login to the VPN provider page using your browser as usual
- Press Copy on the Openconnect line
- Paste to terminal.