FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
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 Downloads folder. And then run below command in terminal to install the Forticlient package.
#sudo dpkg -i /Downloads/FortiClientPackageFileName.deb

 

3) Go to the forticlient directory by running the below command.
#cd /opt/forticlient

 

4) 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 Authetication , by default = 1, i.e. prompt.

->Configure client certificate settings, default = none.

->Select option for waning of invalid server certificate , default = n.

msanjaypadma_4-1648660341509.png

 

5) To connect SSLVPN, execute below command in terminal to run forticlient :
./fortivpn connect <VPNProfileName> -u <username>

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

 

msanjaypadma_3-1648660187165.png

 

Note: This Forticlient application will be running in the background.


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

msanjaypadma_6-1648660452657.png

Contributors