CentOS中安装Juniper SSL VPN Client

安装过程比较简单,但如果出现SecurityException之类的错误,就比较麻烦了。

1.安装Java运行环境(http://www.oracle.com/technetwork/java/javase/downloads/index.html)

2.安装Firefox的插件

1
2
cd ~/.mozilla/plugins
ln -s /usr/lib/jvm/jdk1.7.0_60/jre/lib/amd64/libnpjp2.so .

这一步如果没有使FireFox的java插件生效,可以安装icedtea-web

1
2
yum install icedtea-web
#Debian可以使用apt-get install icedtea-web

3.确保系统安装了openssl ,通过 rmp -q openssl 检查

通过Firefox访问需要连接的网络,正常情况就可以连上了。但如果出现SecurityException错误,可能是Java安全级别比较高,可以打开jcontrol,
在Security中将Security Level设置为Low(或Medium)

通过安装ncui访问VPN,安装ncui,可以参考这里 https://kb.iu.edu/d/bbte

下载ncui地址: http://www.filewatcher.com/m/ncui-6.5R3.1.i386.rpm.1247251-0.html

访问指令:

1
./ncsvc -h xxx.xxx.xxx.xxx -u test -p test -f test.der -r realm -U url_path

参考:

http://www.jaimegago.com/juniper-vpn-client-aka-network-connect-on-rhel-6-x86-64/

https://www.centos.org/forums/viewtopic.php?t=1070

http://mad-scientist.net/welcome-to-the-lab/juniper-network-connect-vpn/

end.