Skip to content

Instantly share code, notes, and snippets.

@apparentlymart
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apparentlymart/fcbaee8716e346afb5dd to your computer and use it in GitHub Desktop.
Save apparentlymart/fcbaee8716e346afb5dd to your computer and use it in GitHub Desktop.
ncsvc on 64-bit Ubuntu

Turn libncui.so into a standalone executable:

sudo apt-get install gcc-multilib lib32z1
cd ~/.juniper_networks/network_connect
gcc -m32 -Wl,-rpath,`pwd` -o ncui libncui.so

Log in to the VPN UI and get the DSID cookie value.

Run ncui to connect:

./ncui -h vpn.example.com -c DSID=... -f ~/.vpn.default.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment