Cody Blog

Software development

Install Juniper on Ubuntu 14.04

On Ubuntu 14.04, install Juniper VPN

$ update-alternatives --display java

Requirement

64 bit Mozilla Firefox browser is installed

First, install the 64bit jre/jdk and icedtea

$ sudo apt-get install openjdk-7-jre icedtea-7-plugin

Second, install the 32bit jre

$ sudo apt-get install openjdk-7-jre:i386

link update-alternatives to /usr/sbin/

juniper use it in that folder.

$ sudo ln -s /usr/bin/update-alternatives /usr/sbin/

Route notes

不同的目的IP走不同的 Interface

route change 10.1.0.0 mask 255.255.0.0 10.201.128.1 if  13 metric 150
route add 10.45.0.0 mask 255.255.0.0 10.1.247.254 if 10 metric 1
route add 10.1.0.0 mask 255.255.0.0 10.1.247.254 if 10 metric 1
route add 10.28.0.0 mask 255.255.0.0 10.1.247.254 if 10 metric 1
route add 211.76.0.0 mask 255.255.0.0 10.1.247.254 if 10 metric 1

Add Route Rule ...