Monday, February 9, 2015

How to use Junos Pulse VPN client on Ubuntu 12.04

Junos Pulse is a VPN client made by Juniper. It is widely used in companies. However, as far as I know, there is no released versions for Ubuntu OS, and I can only find versions for MAC OS and Windows.
I will introduce a way to use Junos Pulse on Ubuntu 12.04. The key thing is that we are going to use openconnect to do the same function as Junos Pulse. The latest version of openconnect (v7.04) has the support of Juniper clients:

What you need to do is to:

(1) install pre-requested libraries:
sudo apt-get install vpnc
sudo chmod a+x+r -R /etc/vpnc
sudo apt-get install libxml2 libxml2-dev gettext make libssl-dev pkg-config libtool autoconf git

(2) clone the openconnect repo (http://www.infradead.org/openconnect/download.html)
git clone git://git.infradead.org/users/dwmw2/openconnect.git

(3) build and install openconnect
cd openconnect
autoreconf -iv
./configure
make
sudo make install

(4) run openconnect
sudo LD_LIBRARY_PATH="/usr/local/lib" openconnect --juniper --no-cert-check your.vpn.server.com

6 comments:

Anonymous said...

Cool solution for Ubuntu.
Visit this site.
top10-bestvpn.com

Unknown said...

Thanks for solution.It works fine.
10webhostingservice

Unknown said...

谢谢~ 帮助我解决了大问题,
因为证书问题jnc方案,在家能用,在公司不能用。。。

Unknown said...

谢谢~ 帮助我解决了大问题,
因为证书问题jnc方案,在家能用,在公司不能用。。。

Vib said...

Thanks!

Unknown said...

amazing Article, Thanks for sharing!
5 Signs You Can Trust Your VPN Client