Skip to content

Instantly share code, notes, and snippets.

@ajitchahal
Created April 24, 2016 20:27
Show Gist options
  • Save ajitchahal/99a16cfbd2898bb6efdc4710c134f22e to your computer and use it in GitHub Desktop.
Save ajitchahal/99a16cfbd2898bb6efdc4710c134f22e to your computer and use it in GitHub Desktop.
Ubuntu 14 install openconenct 7 to connect juniper pulse or other vpns
alias vpn='sudo openconnect --juniper https://vpn.test.org/myvpn'
sudo apt-get install curl vpnc-scripts build-essential libssl-dev libxml2-dev liblz4-dev
curl -O ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz
curl -O ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz.asc
gpg --keyserver pgp.mit.edu --recv-key 67e2f359
tar xzf openconnect-7.06.tar.gz
cd openconnect-7.06
./configure --without-gnutls --with-vpnc-script=/usr/share/vpnc-scripts/vpnc-script
make
sudo make install
sudo ldconfig /usr/local/lib
#OpenConnect will be at /usr/local/sbin/openconnect
#Connection via terminal:
sudo openconnect --juniper https://vpn.test.org/myvpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment