Juniper Pulse VPN Client on Linux

If you are running 64 bit linux, you may need to install 32 bit libraries for glibc, zlib, and nss-mdns. In the instructions below, replace with the your VPN appliance hostname.

You will need to know the login realm in order to connect. If you don’t already know the realm, you can get it as follows:

wget -q --no-check-certificate -O - '' | sed -n 's/.*<input\( [^>]*name="realm" [^>]*\)>.*/\1/p' | sed -n 's/.* value="\([^"]*\)".*/\1/p'

Download and unpack the VPN client java application:

mkdir -p ~/.juniper_networks/network_connect
cd ~/.juniper_networks/network_connect
unzip ncLinuxApp.jar

Get the VPN server certificate

sh ./ company.crt

Finally, establish the VPN connection

./ncsvc -h -u username -r realm-f ./company.crt

A big thanks to StardustOne on for providing this information.