OpenFortiGUI


OpenFortiGUI is an open-source VPN-Client to connect to Fortigate VPN-Hardware. It is based on openfortivpn and adds an easy to use and nice GUI on top of it, written in Qt5.

Unlike other VPN-clients it is also possible to connect to multiple VPN-destinations  simultaneously. It is an replacement for the closed-source Forticlient – SSLVPN Client.

Features include:

  • Qt5 GUI
  • openfortivpn library built-in, no separate download required
  • All settings saved in text-files, so easy to share, passwords saved AES-encrypted (key can be defined as needed, GNOME keyring & KWallet support)
  • VPNs divided into local and global sections (readonly, useful for deployments to many users)
  • VPN-groups can be defined to start groups of VPNs at the same time
  • Trayicon with fast access to start/stop VPNs and groups
  • Multiple VPN connections possible simultaneously
  • Certificate and user/password auth supported
  • 2Factor support
  • Autostart VPNs on program startup
  • English, german, catalan (thanks wagafo@github) and japanese (thanks tsundeoku@github) language
  • Optional: KRunner Plugin for KDE5

Source & community development: https://github.com/theinvisible/openfortigui

Prebuild packages are available for following Distros:

Ubuntu 20.04 (last Update 15.5.2020):

OpenFortiGUI 0.9.0 64bit

Ubuntu 18.04 (last Update 15.5.2020):

OpenFortiGUI 0.9.0 64bit

Ubuntu 16.04 (last Update 15.5.2020): 

Info: Since version OpenFortiGUI 0.5.0 there is libqt5keychain1 >=0.7.0 required which is not included in default Ubuntu distro, best you use our Apt mirror

OpenFortiGUI 0.9.0 32bit
OpenFortiGUI 0.9.0 64bit

Debian 9 (last Update 15.5.2020):

OpenFortiGUI 0.9.0 64bit

Debian 10 (last Update 15.5.2020):

OpenFortiGUI 0.9.0 64bit

You can also use our apt mirror, for instructions see: https://apt.iteas.at/

Available packages on our apt mirror: openfortigui and openfortigui-runner

Quick instruction to build from source:

  1. Install DEV-tools (on Ubuntu: build-essential, qt5-default, libssl-dev, qt5keychain-dev)
  2. git clone https://github.com/theinvisible/openfortigui.git
  3. cd openfortigui && git submodule init && git submodule update
  4. qmake && make -j4
  5. openfortigui binary is ready

Debugging

If you want to help debugging please follow the next steps to produce a debug binary.

  1. Install DEV-tools (on Ubuntu: build-essential, qt5-default, libssl-dev, qt5keychain-dev)
  2. git clone https://github.com/theinvisible/openfortigui.git
  3. cd openfortigui && git submodule init && git submodule update
  4. qmake openfortigui-project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug && /usr/bin/make -j4
  5. openfortigui debug binary is ready

OpenFortiGUI spawns new processes for every VPN connection profile.

You can also start a VPN connection on terminal and so use gdb. For example: sudo /usr/bin/openfortigui –start-vpn –vpn-name [yourvpnname] –main-config ‘/home/[yourusername]/.openfortigui/main.conf’

Just replace [yourvpnname] with your vpn profile name and [yourusername] with your Linux username.

Used software/libraries/resources:

192 thoughts on “OpenFortiGUI

  1. Liviu

    Hi!

    It is possible to define “PPA” / “Repositories” for automatic check of new versions of OpenFortuGUI ?

    Now I use [OpenFortuGUI 0.8.2] on [Linux Mint 19.2 Cinnamon 64-bit] and I wonder if there is a new version of OpenFortuGUI that works on my Linux. I whant to check if there is an update of OpenFortuGUI because after the first-time connection to a VPN(wich works), after I disconnect, the re-connection do not work and seems that it will work again only after I log-out or restart the Linux system.

    Thanks!

    Reply
    1. Liviu

      Hi!
      I’ve found the repository for OpenFortiGUI at https://apt.iteas.at/ and I try to add it to my system, but now I do not know which “echo” command line to use for my [Linux Mint 19.2 Cinnamon 64-bit], from those listed here https://apt.iteas.at/ :

      apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2FAB19E7CCB7F415
      echo “deb https://apt.iteas.at/iteas xenial main” > /etc/apt/sources.list.d/iteas.list
      echo “deb https://apt.iteas.at/iteas bionic main” > /etc/apt/sources.list.d/iteas.list
      echo “deb https://apt.iteas.at/iteas focal main” > /etc/apt/sources.list.d/iteas.list
      echo “deb https://apt.iteas.at/iteas stretch main” > /etc/apt/sources.list.d/iteas.list
      echo “deb https://apt.iteas.at/iteas buster main” > /etc/apt/sources.list.d/iteas.list

      Can you please tell me which “echo” is proper for Linux Mint 19.2, from those above “echos” ?
      Thank you!

      Reply
  2. Enrique Artal

    My university started to use this vpn. I use fedora and I followed the instructions, using the github source. The first problem was that ‘make install’ did not install it. I tried both using it in the build directory and installing it converting the deb file into an rpm file using alien. I created my connection but clicking on “connect” has no effect. Did I miss something? Thanks anyway for the work

    Reply
    1. Enrique Artal

      I edited the src.rpm for opensuse. It installed. I see the issue now, I need to start it with sudo and it works

      Reply
  3. Keith

    I’m trying to connect to a Fortinet SSL VPN on port 443 which has a split and a full configuration. When using Forticlient, the server setting is

    /split or /full

    openfortigui doesn’t allow me to add the ‘/split’ or ‘/full’ component to the path. I get an error in the log indicating it is an invalid host name.

    How can I get this to work?

    Thanks!

    Reply
  4. Pingback: Como instalar o OpenFortiGui, cliente VPN no Debian – BITBARU

  5. Wei

    i might be seeing a bug here.
    when using openfortivpn, /etc/resolv.conf has the following entries:
    dns 1
    dns 2

    when using openfortigui, /etc/resolv.conf has:
    dns 2
    dns 1
    dns 2

    i noticed this because dns 2 has an issue and cannot resolve some of the hostnames.

    would you be able fix this issue?

    Reply
    1. Guillermo

      I am also finding this issue. I cannot properly connect to the VPN’s DNS servers.

      Great work anyways, thanks a lot!

      Reply
  6. ozer

    Hello
    Thanks for that GUI. I can not connect vpn in Manjaro.
    Gives this error:
    sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

    Regards

    Reply
  7. Pingback: Подключение Linux Ubuntu 20.04 к Forti VPN — Якубовский Евгений

  8. ahmet yildirim

    I installed on ubuntu 20.04. It was working fine with 18.04. I upgraded OS. I don’t have any issue after OS upgrade however I have issue with openfortigui. I installed 18.04 latest version of openfortigui as below

    dpkg –list | grep openfort
    ii openfortigui 0.8.2-1 amd64 GUI for openfortivpn

    openfortigui is opening without any problem but when I try to make vpn connection I am getting segfault.

    Apr 25 21:23:56 xxxxxx kernel: [ 1927.488345] openfortigui[8177]: segfault at 70 ip 00007f74fe92a5a4 sp 00007ffe91207758 error 4 in libQt5Core.so.5.12.8[7f74fe800000+2e0000]
    Apr 25 21:23:56 xxxxxx kernel: [ 1927.488365] Code: 48 89 0f 8b 11 83 c2 01 83 fa 01 77 09 c3 0f 1f 84 00 00 00 00 00 f0 83 01 01 c3 90 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 0e 48 89 f8 48 89 0f 8b 11 83 c2 01 83 fa 01 77 09 c3 0f 1f

    kernel version: 5.4.0-26

    Then I compiled it from the source there is no log in /var/log/syslog as expected but no change in app behavior.

    Reply
  9. Hermann Potgieter

    Hi Guys, can you create an Appimage of openfortigui? Would be so cool….

    Reply
  10. Renzo Filini

    On Ubuntu 19.10 (xubuntu) VPN works modifying settings (from File > Settings), enabling SUDO -E Option SUDO Preserve Env. (>=Ubuntu 19.10 /Debian 10 Fix).
    (I’m using the 18.04 64bit deb package)

    Reply
  11. Ricardo Aguiar

    I installed OpenFortiGUI on Ubuntu 20.04 but when connecting to the created VPN it does not open the screen to enter user / password.

    Reply
    1. ahmet yildirim

      I am getting segfault when I try to run connect on newly upgraded ubuntu 20.04. It was working fine with ubuntu 18.04.

      I also compiled from the source no luck.

      Apr 25 21:23:56 kernel: [ 1927.488345] openfortigui[8177]: segfault at 70 ip 00007f74fe92a5a4 sp 00007ffe91207758 error 4 in libQt5Core.so.5.12.8[7f74fe800000+2e0000]

      Reply
      1. ahmet yildirim

        ubuntu 18.04 is using libqt5core 5.9.5 which is working fine.
        ubuntu 20.04 is using libqt5core 5.12.8 which is NOT working.

        FYi

        Reply
  12. Luke

    I cant seem to get it to work in PopOS 19.10. It installs normally, i add my VPN profile, but if i try and connect, it just instantly says “Disconnected” and wont connect.

    The old Forticlient SSL VPN app works fine though. Any ideas?

    Reply
  13. ixle pivues

    Hi, if I try to connect with my standard user, nothing will happen. If i do with root credentials, it will connect with no issue. Why this? I don’t like having to give openfortigui root permissions.

    Reply
  14. Pingback: Install Open Forti GUI Di Ubuntu 18.04 - Codeitworld.com

  15. Abhijit Nathwani

    Thank you so much for this awesome project! With this I’m able to connect FortiClient from Raspberry Pi

    Reply
  16. VGA

    History teachers, Katie Saint Raymond and Nora Duane, represented Spaulding at this year’s Vermont Alliance
    for the Social Studies conference in Burlington! Teachers from around
    the state meet at this conference to share
    innovative teaching practices. https://vtgeoalliance.org/

    Reply
  17. Dean

    Hi there,

    Could you please put up a link for Paypal page in English. It will make it easier to donate…

    Cheers,

    Reply
  18. Pedro Leon

    Hello, is there some RPM compilation? or the instructions to compile on a openSUSE enviroment?

    Reply
  19. Pingback: Como conectar a una VPN Fortinet / Fortigate en Linux | Como Instalar Linux

  20. Alberto

    Hi, I have installed 0.81 on debian 9 and I am trying to use it with 2FA via SMS.
    I am not prompted for the OTP … it simply says (in the log):
    Connected to gateway.
    start, tunnel,
    could not authenticate to gateway
    Can anybody help?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *