FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
msanjaypadma
Staff
Staff
Article Id 207963

Description

 

This article describes how to install and configure the free version of Forticlient in Ubuntu/Debian OS using CLI with multiple remote gateway profiles/connections.

 

Scope

 

FortiClient.

 

Solution

 

Follow the below process to download, install and configure the Forticlient package. 

 

  1. Download a FortiClient package  “.deb” file from the below URL: https://www.fortinet.com/support/product-downloads
  2. FortiClientPackageFileName.deb file will be downloaded in the Downloads folder. Then, run the below command in the terminal to install the Forticlient package.

 

#sudo dpkg -i /Downloads/FortiClientPackageFileName.deb

 

  1. Go to the FortiClient directory by running the below command.


#cd /opt/forticlient

 

  1. Run the below commands in /opt/forticlient directory to configure the SSL VPN profile in FortiClient:


./fortivpn edit <VPNProfileName> <----- Using this command configure multiple remote gateway profiles, and connect once at a single time. 

 

  • After entering the name, press enter.
  • Then configure the remote gateway.
  • Then desired SSLVPN port.
  • Then select an option for User Authentication, by default = 1, i.e. prompt.
  • Configure client certificate settings, default = none.
  • Select the option for waning of the invalid server certificate, default = n.

 

msanjaypadma_4-1648660341509.png

 

  1. To connect SSL VPN, execute the below command in the terminal to run FortiClient:


./fortivpn connect <VPNProfileName> -u <username>

After entering the username press enter and after that enter the password. It will successfully connect SSL VPN.

 

msanjaypadma_3-1648660187165.png

 

Note:

This FortiClient application will be running in the background.

 

  1. For disconnecting SSLVPN type below command:
    ./fortivpn disconnect <VPNProfileName>

msanjaypadma_6-1648660452657.png

 

 

Important: On Ubuntu/Debian OS, identify FortiClient VPN file by their prefix: forticlient_vpn_Versionwithbuildno.deb , indicating a standalone/free version.

 

Below screenshot is the example:

(Path: Select product: Forticlient >Downloads > Linux > Version (e.g. 7.00)> 7.4 >7.4.0 )

 

forticlient.png