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:

173 thoughts on “OpenFortiGUI

  1. 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
  2. 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
  3. Pingback: Подключение Linux Ubuntu 20.04 к Forti VPN — Якубовский Евгений

  4. 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
  5. Hermann Potgieter

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

    Reply
  6. 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
  7. 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
  8. 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
  9. 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
  10. Pingback: Install Open Forti GUI Di Ubuntu 18.04 - Codeitworld.com

  11. Abhijit Nathwani

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

    Reply
  12. 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
  13. Dean

    Hi there,

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

    Cheers,

    Reply
  14. Pedro Leon

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

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

  16. 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 *