Phone sales support +39 0575 05077
  Phone technical support +39 0575 0508 Installing and connecting "Forticlient SSL VPN" in Linux

 ATTENTION: we remind you that these guides are no longer valid as the connection method to the Recovery Console is no longer supported. Please use the only valid user guide for the Recovery Console.
To connect to the Recovery Console of a Cloud Server using a Linux system you need to have on your Linux PC the graphic interface or "Window Manager" (Gnome, KDE, etc.), "Firefox" browser and relevant "Adobe Flash Player" Plug-in.
Furthermore if the system uses a 64 bit (x86_64) Linux version the compatibility libraries are required to run programs at 32 bit (the SSL VPN client is in fact a 32 bit program) within a 64 bit system.

Before you install the program you also need to install xterm, if this is not already installed, as this program is sometimes used by the client to view the license. To do this open a Terminal and run the following command:

sudo apt-get install xterm

To see if you are using a 64 bit Linux system from the Terminal run the following command:

uname –m

The command reply will be "x86_64" in the case of a 64 bit system, or "i686" if you are using a 32 bit system.

If you are using a 64 bit system run the following command from the Terminal prompt:

for Ubuntu:

sudo apt-get install ia32-libs-gtk

for Fedora:

sudo yum install xterm glibc.i686 libgcc.i686 libstdc++.i686 glibc-devel.i686 gtk2.i686 libSM.i686

Make sure that the installation of the libraries is complete without errors before you proceed.

At this point you need to recuperate the data for the VPN connection, then:
  • access the Cloud Server service
  • go to the "vSphere Client" section found in the menu on the left
  • copy the data indicated under "VPN Connection Details", for example:
    Account: AWI-12345
  • copy the data indicated in "vSphere Client Connection Details", for example:
    Account: AWI-12345
Then you will need to download the "Fortinet VPN client for Linux" software, and extract the content of the archive.

From the Terminal move to the directory with the content of the archive

cd forticlientsslvpn/

Only for 64 bit Fedora 18: on 64 bit Fedora 18 we have seen that the VPN client is not able to edit the routing after connecting to the server, therefore not allowing the data to pass from the VPN Tunnel and obstructing the connection for example with the Recovery Console. To solve this problem you need to edit a bash script found in the VPN client package.
  • Go to the helper/ subdirectory in the forticlientssl/ directory

    cd forticlientsslvpn/

  • edit the file for example with gedit or vim
  • look for the line which starts with "addr="
  • edit it by deleting the part highlighted in red here below:

    addr=`ifconfig $ifn |grep "inet"|awk ' {print $2 }'| awk -F : '{ print $2}'`

  • note that after "addr=" the line starts with a backtick (`) and that even after deleting the part highlighted in red ends with a backtick
Run the "forticlientsslvpn" program:

sudo ./forticlientsslvpn

After accepting the license, enter the previously obtained "VPN Connection Details", then press "Connect".

A warning window like the following will open. Click on "Continue".

At this stage the connection is established.

At this stage the VPN tunnel is also established, you can proceed with the connection to the VMware Recovery Console.