Install OpenFortiGUI on Debian 12 - bookworm

This is how to setup OpenFortiGUI on Debian 12 - bookworm.

OpenFortiGUI uses the openfortivpn project.

OpenFortiGUI is still not in Debian or Ubuntu, but someone did open a ITP for it: #888518


Fetch the GPG key

curl -fsSL -o ./iteas-keyring.gpg
gpg --no-default-keyring --keyring ./iteas-keyring.gpg --armor --export BA662621DA69F38C443F147C23CAE45582EB0928 | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/iteas-keyring.gpg
rm ./iteas-keyring.gpg

Add sources file

Create a file at /etc/apt/sources.list.d/openfortigui.list and put the following contents:

Check on if you find your dist. I did open an issue to ask for Debian bookworm to be added: theinvisible/openfortigui#189.

deb [signed-by=/etc/apt/trusted.gpg.d/iteas-keyring.gpg] bullseye main

Install it

sudo apt update
apt policy openfortigui
sudo apt install openfortigui
# Or (for me)
sudo apt install openfortigui -t bullseye


On 2023-02-13 I followed this and it installed:

openFortiGUI - 0.9.8 on Debian 12 - bookworm