-
-
Save safebuffer/0e1e55f2e414ffbaba6afb97f9c3ab96 to your computer and use it in GitHub Desktop.
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 |
Love it. This works for me really good! Download forticlient.deb from the browser.
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
unfortunately, it doesn't work with me
└─# dpkg -i forticlient_vpn_7.4.0.1636_amd64.deb
Selecting previously unselected package forticlient.
(Reading database ... 446997 files and directories currently installed.)
Preparing to unpack forticlient_vpn_7.4.0.1636_amd64.deb ...
Unpacking forticlient (7.4.0.1636) ...
dpkg: dependency problems prevent configuration of forticlient:
forticlient depends on libappindicator1 (>> 0) | libayatana-appindicator1 (>> 0); however:
Package libappindicator1 is not installed.
Package libayatana-appindicator1 is not installed.
forticlient depends on libnss3-tools (>= 3.21); however:
Package libnss3-tools is not installed.
dpkg: error processing package forticlient (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.27-2) ...
Processing triggers for gnome-menus (3.36.0-1.1+b2) ...
Errors were encountered while processing: forticlient
According to the apt-key
manual, with the deprecation the step 2:
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 -
Should be something like this:
sudo wget -O - https://repo.fortinet.com/repo/7.0/ubuntu/DEB-GPG-KEY | sudo tee /etc/apt/trusted.gpg.d/DEB-GPG-KEY.asc
Next, I ran for the second time:
sudo apt update
sudo apt --fix-broken install # Running this a second time is the important bit
dpkg -i forticlient_vpn_7.2.2.0753_amd64.deb
Which installed the dependencies and the package. This is what worked for me, with:
Kali Linux 6.8.11-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux
I think this step is not necessary but I'll document it anyways. After the step 4, apt returned the following warning:
Warning: Conflicting distribution: https://repo.fortinet.com/repo/7.0/ubuntu xenial InRelease (expected xenial but got )
I fixed this warning following this answer and changing xenial
by ./xenial
in sources.list. I do not know if this particular change affected the process at all, I recommend you try skipping this modification of sources.list first and see if it gets your dependencies installed. My sources.list line was like this when I got it working:
deb [arch=amd64] https://repo.fortinet.com/repo/7.0/ubuntu ./xenial multiverse
If the previous steps still do not work for you, try that.
Works good for me, but previously need to remove previous libappindicator1 pkg