Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

koromicha

Updated on:

Last updated on June 14th, 2021 at 07:39 pm

In this tutorial, you will learn how to install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04. FortiClient VPN allows you to create a secure and an encrypted Virtual Private Network (VPN) connection tunnel using IPSec or SSL VPN “Tunnel Mode” connections between your device and the FortiGate Firewall.

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

FortiClient VPN client can be installed on Ubuntu systems using the DEB binary or directly from the Fortinet Ubuntu repos.

Installing FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04 using DEB file

To install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04 or other Ubuntu releases using the DEB binary file, navigate to FortiClient downloads page and grab the DEB binary installer.

You can as well simply get the link to the DEB installer and pull it using wget utility tool as follows;

wget https://filestore.fortinet.com/forticlient/downloads/FortiClientFullVPNInstaller_6.4.0.0851.deb

Note that this specifically installs FortiClient 6.4.0.0851. Be sure to get the latest version from the downloads page.

Once the installer is downloaded, install FortiClient VPN as follows;

sudo dpkg -i FortiClientFullVPNInstaller_6.4.0.0851.deb

To avoid having to deal with the required package dependencies, simply run the command below instead.

sudo apt install ./FortiClientFullVPNInstaller_6.4.0.0851.deb

FortiClient VPN application should now be present on your system.

Install FortiClient VPN Client from Fortinet Ubuntu Repos

Fortinet provides repos from which you can easily install FortiClient VPN Client from. However, as of this writing, the repos are not available for Ubuntu 20.04 Focal Fossa. Thus, use the method above to install FortiClient VPN on Ubuntu 20.04.

Install FortiClient VPN Client from Fortinet Ubuntu Repos on Ubuntu 18.04

To install Fortinet VPN from Fortinet Ubuntu repos, you first need to install the repository GPG signing key.

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

Next, create the Fortinet Ubuntu 18.04 repo;

echo "deb [arch=amd64] https://repo.fortinet.com/repo/ubuntu/ /bionic multiverse" | sudo tee /etc/apt/sources.list.d/fortinet.list

Next, update the package repos;

apt update

Check the available version of

apt-cache policy forticlient
forticlient:
  Installed: (none)
  Candidate: 6.0.8.0140
  Version table:
     6.0.8.0140 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.6.0125 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.5.0106 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.4.0091 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.3.0073 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.2.0058 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.1.0048 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages
     6.0.0.0029 500
        500 https://repo.fortinet.com/repo/ubuntu /bionic/multiverse amd64 Packages

As you can see the Fortinet repos do not provide the latest version of the FortiClient VPN as of this writing. Hence, better use the first method above instead.

Connecting to VPN using FortiClient VPN client

Launch FortiClient VPN client by searching it from Ubuntu activities menu;

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

When you first run it, being a free version, it prompts you accept that it doesn’t come with any support. Accept the disclaimer to continue using the application.

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

To setup the VPN connection profile, click Configure VPN.

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

Setup your SSL VPN connection details;

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

Click Save to add the connections.

Enter you VPN connection credentials.

Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04

Click Connect to connect to the VPN.

You can click the three menu lines to add a new, edit or delete the existing connection.

Upon successful connection to the VPN, you should see such connection status.

FortiClient-VPN-connection.png

You can always disconnect from the VPN by clicking Disconnect.

And that is how easy it is to install FortiClient VPN client on Ubuntu 20.04/Ubuntu 18.04.

Further Reading

Forticlient

Fortinet Documentation Library

Related Tutorials

Setup IPSec VPN Server with Libreswan on CentOS 8

Install and Setup OpenVPN Server on Ubuntu 20.04

Install Cisco AnyConnect Client on CentOS 8

Configure strongSwan VPN Client on Ubuntu 18.04/CentOS 8

I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Related Posts

Install GVM 21.4 on Ubuntu 20.04
Connect to VPN Automatically on Ubuntu 20.04/18.04
Install and Configure Tripwire Security Monitoring tool on CentOS 8

2 thoughts on “Install FortiClient VPN Client on Ubuntu 20.04/Ubuntu 18.04”

Leave a Comment