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 enterprise deployments to many users)
- VPN-groups can be defined to start defined 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:
Last Update 6.10.2022
Ubuntu 22.04:
OpenFortiGUI 0.9.8 64bit
Ubuntu 20.04:
OpenFortiGUI 0.9.8 64bit
Ubuntu 18.04:
OpenFortiGUI 0.9.8 64bit
Debian 10:
OpenFortiGUI 0.9.8 64bit
Debian 11:
OpenFortiGUI 0.9.8 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:
- Install DEV-tools (on Ubuntu: build-essential, qt5-default, libssl-dev, qt5keychain-dev)
- git clone https://github.com/theinvisible/openfortigui.git
- cd openfortigui && git submodule init && git submodule update
- qmake && make -j4
- openfortigui binary is ready
Debugging
If you want to help debugging please follow the next steps to produce a debug binary.
- Install DEV-tools (on Ubuntu: build-essential, qt5-default, libssl-dev, qt5keychain-dev)
- git clone https://github.com/theinvisible/openfortigui.git
- cd openfortigui && git submodule init && git submodule update
- qmake openfortigui-project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug && /usr/bin/make -j4
- 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:
Didn’t work on debian 12
What a useful tool, thank you!
I had the same problem on Xubuntu 22.04: no authentication dialog appeared when I clicked the “Connect” button. I did 2 things to fix it:
1. Do NOT enter a password in the setup wizard’s Authentication section. Check ~/.openfortigui/vpnprofiles/your_server_name.conf for the line starting with “password=”. That should be the only text on that line, i.e. no password given.
2. Set your server Name to exactly that required by your VPN server provider, not your own label.
(I’m not sure the 2nd step was strictly necessary.)
It is not getting a password from k-wallet on Fedora 38
jul. 19 15:57:11 sudo: um terminal é necessário para ler a senha; use a opção -S para ler a entrada padrão ou configure um auxiliar de askpass
jul. 19 15:57:13 sudo: uma senha é necessária
same here. o mesmo por aqui
Hi.
It’s a wonderful job.
However, everytime I connected, I needed to go go konsole and set routes manually.
Is there any way to do so via GUI?
Thanks.
#### FOR MINT 20 USERS ####
I just found these steps on the issues forum for the project in github – https://github.com/theinvisible/openfortigui/issues/133
Here’s a copy of the instructions (from Oct. 27, 2020):
Currently found a workaround:
run OpenFortiGUI via sudo (with root permissions)
configure connection
connect – now it asks certificate properly and connects
run OpenFortiGUI again as regular user
now it connects also here
then used SUDO -E option from OpenFortiGUI settings and then also certificate as regular user received and now works also as regular user
then you can delete all configuration, profiles under sudo permissions and use these under regular user only as it should be
Hello, hope find you well.
On Ubuntu 22.04 there is a problem with UI ’cause ‘Connect’ doesn’t work. Also on click for connection in the main window, neither with the double click setting. Obviously the icon ‘Connect’ doesn’t work also in the contextual menu from the vpn list.
The log is empty (last message is dated April 21st, the day of my Ubuntu update).
openFortiGUI 0.9.5
This helps me after I updated Ubuntu from 18 to 22:
Open settings file ~/.openfortigui/main.conf
In section [main] change “sudo_preserve_env” variable from false to true.
Hi I’ve been facing the same issue. I have Ubuntu 22.04 when I try to connect VPN from my company does not work. I catch these errors on log:
jun. 30 17:23:53 openfortiGUI::Debug: tiConfVpnProfile::readVpnProfiles() -> vpnprofile found: “/home//.openfortigui/vpnprofiles/VPN.conf”
jun. 30 17:23:53 openfortiGUI::Debug: vpnManager::onClientConnected()
jun. 30 17:23:53 openfortiGUI::Debug: client api helo command:: 0 ::name:: “VPN”
jun. 30 17:23:54 openfortiGUI::Debug: client disconnected:: “VPN”
jun. 30 17:23:54 openfortiGUI::Debug: vpnManager::onClientVPNStatusChanged() “VPN-” status 0
jun. 30 17:23:54 openfortiGUI::Debug: MainWindow::onClientVPNStatusChanged:: “VPN” ::status:: 0
jun. 30 17:23:54 openfortiGUI::Debug: VPN process “VPN” error occurred!
jun. 30 17:23:54 openfortiGUI::Debug: VPN process “VPN” finished!
Thanks a lot! It works when I change sudo_preserve_env to true