Run 32 bits fortinet SSL VPN in 64 bits Linux (Fedora 20)


I am using Fedora 20 64bits on my new Ultrabook. Here is how I set up the Fortinet SSL VPN 32 bits client:

1) Download the tar ball file, ftp://ftp.2rosenthals.com/pub/FortiNet/forticlientsslvpn_linux_4.0.2254.tar.gz.

2) Extract it

[jchen@latte software]$ tar xvzf forticlientsslvpn_linux_4.0.2254.tar.gz
forticlientsslvpn/
forticlientsslvpn/helper/
forticlientsslvpn/helper/sysconfig.linux.sh
forticlientsslvpn/helper/config
forticlientsslvpn/helper/subproc
forticlientsslvpn/helper/fortisslcacert.pem
forticlientsslvpn/helper/License.txt
forticlientsslvpn/helper/linux.rtbackup
forticlientsslvpn/helper/fortisslclient.crt
forticlientsslvpn/helper/setup.linux.sh
forticlientsslvpn/helper/fortisslclient.key
forticlientsslvpn/helper/cleanup.linux.sh
forticlientsslvpn/forticlientsslvpn

3) As you can see it requires the 32bits libgtk-x11-2.0.so.0 module. To install it you have to tell Linux to download the 32 bits version. In Fedora, the name is something like packagename-version.i686; In Ubuntu, the name is packagename-verion:i386.

[jchen@latte forticlientsslvpn]$ ./forticlientsslvpn
./forticlientsslvpn: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

[jchen@latte forticlientsslvpn]$ sudo find / -name libgtk-x11-2.0.so.0
/usr/lib64/libgtk-x11-2.0.so.0

[jchen@latte forticlientsslvpn]$ sudo yum -y install libgtk*86 libSM*86 xterm

[jchen@latte software]$ sudo find / -name libgtk-x11-2.0.so.0
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib64/libgtk-x11-2.0.so.0

[jchen@latte forticlientsslvpn]$ ./forticlientsslvpn

 

Image

Image

 

Run jnlp file in Linux


jnlp (java network launching protocal) is the Java Web Start file (also known as javaws). Many hardware devices’ (switch,router, servers…) remote control utility uses this technology. For example Brocade fiber switch management page, Cisco ADSM, IBM X3650 IMM.remote control.

When you visit the management page via Chrome or Firefox in Linux. The jnlp file will be downloaded to your local drive. To run it, you have to run ‘javawc <jnlp file>‘. Sometimes, you may see ‘Application Blocked by Security Settings‘. To make it work, you have to adjust the security settings in the java control pannel.

Screenshot from 2014-06-17 11:21:46

 

[jchen@latte software]$ sudo find / -iname *controlpanel*
/usr/java/jre1.7.0_60/bin/ControlPanel
[jchen@latte software]$ /usr/java/jre1.7.0_60/bin/ControlPanel

Screenshot from 2014-06-17 11:24:11

[jchen@latte software]$ javaws jnlp

Screenshot from 2014-06-17 11:47:57

Monitor V7000 active alerts in Xymon


Image

Image

Image

 

Continue with my previous post on installing the Xymon, you can write your own monitor scripts. I wrote a script named v7000alerts to check whether there are active alerts in my IBM StorWize V7000.

1) Download the script v7000alerts to /home/xymon/server/ext, and run ‘chmod a+x v7000alerts’ and ‘chown xymon:xymon v7000alerts’.

2) Add the following into /home/xymon/server/etc/tasks.cfg

[v7000alerts]
ENVFILE /home/xymon/server/etc/xymonserver.cfg
NEEDS xymond
CMD $XYMONHOME/ext/v7000alerts
LOGFILE $XYMONSERVERLOGS/v7000alerts.log
INTERVAL 5m

3) Add your V7000 into the /home/xymon/server/etc/hosts.cfg file, here is a example:

# STORAGES PAGE
page storages STORAGES
group-compress <font size=”+1″>IBM StorWize V7000</font>
192.168.1.100 SYD-V7000 # v7000alerts sslcert https://192.168.1.100

The v7000alerts script can be downloaded from here:
Image