Forticlient IPSec VPN on Ubuntu Linux

In short: you can’t! Official crappy FortiClient VPN package for Linux doesn’t support IPSec VPNs. But there’s an alternative package which supports IKEv1.

ShrewSoft VPN client, despite not being developed since 2013, works fine. Maybe because Forticlient still uses aged protocols… 🙂

I followed this XModulo guide which is basically good except for few things which needs to be actualized.

Let’s go straight to the compilation and installation

apt install cmake libssl-dev libedit-dev flex bison qt4-default qt4-qmake
wget https://www.shrew.net/download/ike/ike-2.2.1-release.tgz -P /tmp
tar -xvzf ike-2.2.1-release.tgz -C /tmp
cd /tmp/ike
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES
make
sudo make install
sudo ldconfig
sudo mv /etc/iked.conf.sample /etc/iked.conf

Now the package should be installed. Launch

sudo iked

to start the backend daemon, and for the GUI:

qikea

As a side note, ShrewSoft VPN is also available as SNAP package, but it’s currently buggy and won’t work.

3 pensieri su “Forticlient IPSec VPN on Ubuntu Linux

  1. hello
    I got this errore on make:

    /tmp/ike/source/libike/manager.file.cpp: In member function ‘bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)’:
    /tmp/ike/source/libike/manager.file.cpp:682:19: error: aggregate ‘EVP_CIPHER_CTX ctx_cipher’ has incomplete type and cannot be defined
    682 | EVP_CIPHER_CTX ctx_cipher;

    Can you solve it?

    Thank you

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Solve : *
13 × 9 =


Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.