Ubuntu 64 bit and Juniper VPN

I’ve got 99 problems and installing the Juniper VPN in Ubuntu is all of them. If you have ever had that thought, then you’re in the right spot.

Getting Juniper up and running on Ubuntu can be a bit of a pain, but it’s actually much simpler than it seems at first. You basically only need two things:

The VPN I connect to requires a username, password and token. There are other methods out there that you might be able to get working without using the browser to launch, but I’m not convinced this is possible if your VPN requires all three pieces of information (somebody prove me wrong). So let’s talk about launching Juniper through the browser.

  1. Download a 32 bit version of Java
  1. Install a 32 bit version of Firefox
  1. Symbolic link your libnpjp2.so
  1. Test out your Java installation
  1. Launch Juniper

Granted this isn’t as nice as going through network manager, but it works. I do occasionally run into an issue where my Juniper applet doesn’t start. However, going through the Juniper URL a 2nd time always works.