Getting Forticlient or OpenFortiGui to work on Clear Linux

Hi guys, is there any way to get Fortinet’s Forticlient or OpenFortiGui to work on Clear Linux? I need to support dozens of clients with Fortigates using the VPN functionality.

1 Like

Same problem! Blocker!

Hi, Clear Linux Team, please add this soft forticlient OpenFortiGUI | Bits and Bytes , or some other way to connect to fortivpn

Hello, will be great to have openforti working.

Hello, please test if it working

Installing all the prerequisite

sudo swupd bundle-add qt-basic-dev devpkg-openssl wget ImageMagick

QTKeychain library installation

cd ~/Downloads
git clone https://github.com/frankosterfeld/qtkeychain.git
cd qtkeychain
cmake -DCMAKE_INSTALL_PREFIX=/usr
sudo make -j4 install 

OpenFortiGui compilation

cd ~/Downloads
git clone https://github.com/theinvisible/openfortigui.git
cd openfortigui/openfortigui/
git clone https://github.com/theinvisible/openfortivpn.git
cd ..
cmake .
make -j4

Placing bin and creating shortcuts

sudo mv bin/openfortigui /usr/bin/
wget https://raw.githubusercontent.com/theinvisible/openfortigui/master/assets/icon-openfortivpn1.svg
convert -background none -size 256x256  icon-openfortivpn1.svg openfortigui.png
sudo cp openfortigui.png /usr/share/icons/hicolor/256x256/apps/
echo -e "[Desktop Entry]\nType=Application\nName=OpenFortiGui\nIcon=openfortigui\nExec=/usr/bin/openfortigui\nTerminal=false\nCategories=Network;" > ~/.local/share/applications/openfortigui.desktop
update-desktop-database ~/.local/share/applications/

After relogin you will find them in Internet folder of applications

3 Likes

Great news. I will check this afternoon. Thank you @zoydberg for you time sharing this information.

1 Like

Not working for me… Any advice? Also, is it possible to convert OpenFortiVPN into an Appimage?

Its ok , there is no expected output. This command just forcing updating of gnome shortcuts.

Still not working. Hi Clear Linux Team, will you compile using latest version of OpenFortiGui? 0.9.3

What’s the exact error you see?

Hi there, I also really need to use forti vpn on clear linux. I get errors compiling it following the instructions mentioned above.

Would be really great if the Clear Linux Team could compile it.

Thanks & best
Chris

1 Like

It was quite easy to get openfortivpn going on the latest version of Clear Linux. (the command line client at least)

$ sudo swupd bundle-add devpkg-openssl
$ sudo swupd bundle-add devpkg-systemd

Download the sources:
https://codeload.github.com/adrienverge/openfortivpn/tar.gz/refs/tags/v1.17.1

Unzip, enter the new dir and run:

$ ./autogen.sh
$ ./configure --prefix=/usr/local --sysconfdir=/etc
$ make
$ sudo make install

At this point i could run the binary, but it gives me an error that /dev/ppp is not running.
So I ran:
$ sudo /dev/ppp

This resulted in an error, but gave the suggestion to perform this command. (Note; this one might be specific for my system).
$ sudo mknod /dev/ppp c 108 0

And now it should work. At least for me it did :slight_smile:

1 Like