Desktop Devices

Installing FortiClient VPN on Unmanaged Linux device

Note: To access the 4finance network from an unmanaged Windows device, you will need to specify your mobile phone details for your 4finance account or configure the Authenticator app on your smartphone. You can find detailed instructions on how to set up multi-factor authentication in the manual here - How to set Multi-Factor Authentication

Before you start

Please note that our Forticlient does not accept connections from networks using the IPv6 protocol. Ensure that your device is assigned an IPv4 address.

Please disable "Make available to other users" option in your Wi-Fi connection.

Ubuntu and Debian Toolkit

Below are instructions from the official FortiNet website for various Linux distributions, however, for Ubuntu and Debian we have own FortiClient installation and maintenance toolkit available, and we highly recommend this over the official documentation.

To use the Ubuntu toolkit, simply run the following command and follow the menu and the instructions:

bash -c "$(curl -s https://installvpn.4finance.com/4fscripts/ubuntu_toolkit.sh)"

https://cdn.prod.website-files.com/6436965fe9ee562953488ef5/67e51ea2f0cbba2b12bb51e8_Screenshot%20from%202025-03-27%2011-48-40.png

Installing FortiClient

CentOS 7 (and newer) and Redhat 7 (and newer)

Add repository:

sudo yum-config-manager --add-repo  https://repo.fortinet.com/repo/forticlient/7.4/centos/8/os/x86_64/fortinet.repo

Install FortiClient:

sudo yum install forticlient

Fedora

Add repository:

sudo dnf config-manager --add-repo  https://repo.fortinet.com/repo/forticlient/7.4/centos/8/os/x86_64/fortinet.repo

Install FortiClient:

sudo yum install forticlient

Ubuntu 22.10

Install GPG key:

wget -O - https://repo.fortinet.com/repo/forticlient/7.4/ubuntu22/DEB-GPG-KEY | gpg --dearmor | sudo tee /usr/share/keyrings/repo.fortinet.com.gpg

Add repository in /etc/apt/sources.list:

sudo tee /etc/apt/sources.list.d/fortinet.list<<EOF
deb [arch=amd64 signed-by=/usr/share/keyrings/repo.fortinet.com.gpg] https://repo.fortinet.com/repo/forticlient/7.4/ubuntu22/ stable non-free
EOF

Update package lists:

sudo apt-get update

Install FortiClient:

sudo apt install forticlient

Additional step to fix FortiClient dependency in Ubuntu

sudo apt-get update
sudo apt-get install libindicator3-7

Connecting to VPN

Open FortiClient and from "Zero Trust Telemetry" tab connect to 4finance Management server by typing in "ems.4finance.com" and pressing Connect button. This will configure VPN connection for your device.

Manual install

Red Hat or CentOS 8:

  1. Obtain a FortiClient Linux installation rpm file.
  2. In a terminal window, run the following command: "sudo dnf install <FortiClient installation rpm file> -y", where <FortiClient installation rpm file> is the full path to the downloaded rpm file.

Note: If running Red Hat 7 or CentOS 7, replace dnf with yum in the command in step 2.

Ubuntu

  1. Obtain a FortiClient Linux installation deb file.
  2. Install FortiClient using the following command: "sudo apt-get install <FortiClient installation deb file>", where <FortiClient installation deb file> is the full path to the downloaded deb file.

Uninstalling FortiClient

You cannot uninstall FortiClient while it is connected to EMS. Disconnect FortiClient from EMS before uninstalling it from "Zero Trust Telemetry" tab.

Uninstalling FortiClient on Red Hat or CentOS:

Run the command: "sudo dnf remove forticlient".
Note: If running Red Hat 7 or CentOS 7, replace dnf with yum in the command.

Uninstalling FortiClient from Ubuntu:

Run the command: "sudo apt-get remove forticlient".