Contiuned: Juniper Networks VPN from Fedora 64bit

This post is the continuation of my earlier post about Juniper VPN.

In the earlier post, I connected to VPN using a login/password/certification combination. Now I also managed to use the ncui tool for the connection which is based on a cookie value and a certificate. I wasn’t able to connect to this configuration using the method in my previous post.

$ ./ncui -h -c DSID="YOUR_DSID_COOKIE" -f

Here, first you need to login to your vpn domain from a web-browser. Once you do that, you need to obtain two things:

  • DSID cookie value. This can be easily obtained from a web-browser. You only need to browse the relevant cookie value in preferences or through “View Cookies” from your web-browser.

For more detailed information I have listed the installation steps in a gist. Search for “Alternative method using ncui” at the bottom of this gist.

Also I came across two noticeable tools for Juniper VPN:

  • jvpn: a nice tool which automates many of the steps.

Again, I got rid of Windows dependency! 🙂