Skip to content

Instantly share code, notes, and snippets.

@safebuffer
Created September 7, 2021 10:00
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save safebuffer/0e1e55f2e414ffbaba6afb97f9c3ab96 to your computer and use it in GitHub Desktop.
Save safebuffer/0e1e55f2e414ffbaba6afb97f9c3ab96 to your computer and use it in GitHub Desktop.
Install FortiClient 7.0 VPN on Kali Linux
curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-8_amd64.deb" --output libappindicator1_0.4.92-8_amd64.deb
curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/libi/libindicator/libindicator7_0.5.0-4_amd64.deb" --output libindicator7_0.5.0-4_amd64.deb
wget https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_7.0.0.0018_amd64.deb
sudo dpkg -i libindicator7_0.5.0-4_amd64.deb
sudo apt-get install libdbusmenu-gtk4
sudo apt-get install libgconf-2-4
sudo dpkg -i libappindicator1_0.4.92-8_amd64.deb
sudo dpkg -i forticlient_vpn_7.0.0.0018_amd64.deb
@Ellatorg
Copy link

failed installing libappindicator:

dpkg-deb: error: 'libappindicator1_0.4.92-8_amd64.deb' is not a Debian format archive
dpkg: error processing archive libappindicator1_0.4.92-8_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2

@mvc1009
Copy link

mvc1009 commented Nov 10, 2021

@Ellatorg to solve the problem visit the following page and download another libappindicator1 version. (http://ftp.de.debian.org/debian/pool/main/liba/libappindicator/)

The following works for me:
http://ftp.de.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-7_amd64.deb

@DD885
Copy link

DD885 commented Nov 19, 2021

No such file or directoryrchive 'forticlient_vpn_7.0.0.0018_amd64.deb

@shdennlin
Copy link

@mvc1009 it also work for me, thank!
My OS: Linux 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux

@carlosmaroot
Copy link

Change the firt line with this:
curl -p --insecure "http://ftp.de.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-3.1_amd64.deb" --output libappindicator1_0.4.92-8_amd64.deb

cause the link is not found so the package is not downloaded but it save the output anyway

@JulianGR
Copy link

JulianGR commented Feb 7, 2022

I got it working with a different order (also added @carlosmaroot line):

sudo apt-get install libdbusmenu-gtk4
sudo apt-get install libgconf-2-4

curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/libi/libindicator/libindicator7_0.5.0-4_amd64.deb" --output libindicator7_0.5.0-4_amd64.deb
sudo dpkg -i libindicator7_0.5.0-4_amd64.deb

curl -p --insecure "http://ftp.de.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-3.1_amd64.deb" --output libappindicator1_0.4.92-8_amd64.deb
sudo dpkg -i libappindicator1_0.4.92-8_amd64.deb

wget https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_7.0.0.0018_amd64.deb
sudo dpkg -i forticlient_vpn_7.0.0.0018_amd64.deb

EDIT: when installing forticlient, I've encountered issues with DNS: apparently, one of the dependencies of forticlient (network-manager-fortisslvpn) erases your DHCP config and essentially eliminates all of your nameservers under /etc/resolv.conf, so you might wanna check this out: https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/.

@stojangb
Copy link

stojangb commented Mar 7, 2022

@JulianGR Thanks So Much!!

@VLADYSLAVC11
Copy link

I got it working with a different order (also added @carlosmaroot line):

sudo apt-get install libdbusmenu-gtk4
sudo apt-get install libgconf-2-4

curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/libi/libindicator/libindicator7_0.5.0-4_amd64.deb" --output libindicator7_0.5.0-4_amd64.deb
sudo dpkg -i libindicator7_0.5.0-4_amd64.deb

curl -p --insecure "http://ftp.de.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-3.1_amd64.deb" --output libappindicator1_0.4.92-8_amd64.deb
sudo dpkg -i libappindicator1_0.4.92-8_amd64.deb

wget https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_7.0.0.0018_amd64.deb
sudo dpkg -i forticlient_vpn_7.0.0.0018_amd64.deb

EDIT: when installing forticlient, I've encountered issues with DNS: apparently, one of the dependencies of forticlient (network-manager-fortisslvpn) erases your DHCP config and essentially eliminates all of your nameservers under /etc/resolv.conf, so you might wanna check this out: https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/.

Works good for me, but previously need to remove previous libappindicator1 pkg

@Barriuso
Copy link

Barriuso commented Apr 4, 2022

Love it. This works for me really good! Download forticlient.deb from the browser.

@etincopa
Copy link

etincopa commented Jan 17, 2024

Installing FortiClient VPN on Kali Linux

Step 1: Fix Broken Dependencies

Execute the following command to fix broken dependencies:

sudo apt --fix-broken install

Step 2: Add Fortinet GPG Key to the System

Add the Fortinet GPG key to your system to ensure the authenticity of the packages:

sudo wget -O - https://repo.fortinet.com/repo/7.0/ubuntu/DEB-GPG-KEY | sudo apt-key add -

Step 3: Modify the sources.list File

Edit the sources.list file to add the necessary repositories. Use the nano text editor:

sudo nano /etc/apt/sources.list

Add the following lines at the end of the file:

deb [arch=amd64] https://repo.fortinet.com/repo/7.0/ubuntu xenial multiverse
deb http://ftp.de.debian.org/debian bookworm main

Save the changes (Ctrl + O) and close the editor (Ctrl + X).

Step 4: Update Package List

Update the package list to include the new repositories:

sudo apt update

Step 5: Download and Install FortiClient VPN

Go to the official Fortinet Downloads page and download the FortiClient VPN .deb file.

Then, navigate to the downloaded file and perform the installation:

cd Downloads
sudo dpkg -i forticlient_vpn_7.2.2.0753_amd64.deb

Step 6: Reboot the System

Restart your system to apply the changes:

sudo reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment