---
title: "How to Install OpenFortiGUI in Ubuntu 24.04"
url: "https://blog.101ta28.com/en/posts/ubuntu24-04-openfortigui-install/"
language: "en"
description: "How to Install OpenFortiGUI in Ubuntu 24.04"
---

# How to Install OpenFortiGUI in Ubuntu 24.04

> How to Install OpenFortiGUI in Ubuntu 24.04

At my workplace, there are times when I need a VPN, and on Windows and MacOS, FortiClient is my default workplace.

But since I am using Linux (Ubuntu) with a twist, I decided to install OpenFortiGUI.

The [OpenFortiGUI official website](https://hadler.me/linux/openfortigui/) recommends APT mirror, so I installed it accordingly.

However, since Ubuntu 24.04, the way to add APT mirror has been changed from one line format in `sources.list` to deb822 format.

Therefore, we will make some modifications to the official way.

Specifically, the addition of APT repositories is described in the `iteas.sources` file instead of the `iteas.list` file.

## Environment

- Ubuntu 24.04 LTS (Noble Numbat)

## Add GPG key

Add a GPG key. It is almost the same as the official method.

```bash
# (Ubuntu Noble, Jammy and Debian Bookworm).

# gpg -k && gpg --no-default-keyring --keyring /usr/share/keyrings/iteas-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 23 CAE45582EB0928
# How to add the official. sudo was required, so I changed to the following command.

sudo gpg -k && sudo gpg --no-default-keyring --keyring /usr/share/keyrings/iteas-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv --tkeys 23CAE45582EB0928
```

## Add APT repository

Once you have added the GPG key, add the APT repository.

The official one-liner is to create a `iteas.list` file, but create a `iteas.sources` file.

Create `/etc/apt/sources.list.d/iteas.sources` and write the following

```bash
Types: deb
URIs: https://apt.iteas.at/iteas
Suites: noble
Components: main
Signed-By: /usr/share/keyrings/iteas-keyring.gpg
```

Now we need to update the repository and install OpenFortiGUI.

````bash
sudo apt update && sudo apt install openfortigui -y
```

## Configure OpenFortiGUI

From the configuration screen, I had to check `SUDO -E Option` to start.

Then you can enter the necessary information and make a VPN connection.
