Skip to main content
HS08
Contributor III
June 13, 2024
Question

FortiClient Always On

  • June 13, 2024
  • 6 replies
  • 15389 views

Hello,

How we can enable VPN always ON on FortiClient VPN?

6 replies

adimailig
Staff & Editor
Staff & Editor
June 14, 2024
HS08
HS08Author
Contributor III
June 14, 2024

Hello,

On section 

============================================================

FortiClient.
Enabling the "Auto Connect", "Always UP" or "Save Password" options can only be done by editing the FortiClient XML configuration file (on non-managed installations.)
  1. From the FortiClient GUI, go to File -> Settings -> System.
  2. Backup the configuration.
  3. Edit the backup xml configuration file.  
  4. Locate the VPN tunnel section.
  5. Locate the [<show_remember_password>], [<show_alwaysup>], and [<show_autoconnect>] tags.
  6. Enable the tags by adding a [1] to the tags.
  7. Save the xml configuration.
  8. Restore configuration back to the FortiClient.

============================================================

There are no Setting under File, only close available there.

Untitled.png

 

adimailig
Staff & Editor
Staff & Editor
June 14, 2024

This is the Backup/Restore mentioned on the documentation.

Backup.PNG

 
As you can see here the Restore button is greyed out. 
You need to unlock the FortiClient.
Click the "padlock" icon on upper right corner of FortiClient console.

Padlock.PNG

 

hbac
Staff
Staff
June 14, 2024

Hi @HS08,

 

On the FortiGate, you can run the following commands:

 

config vpn ssl web portal
edit <>

set auto-connect enable
set keep-alive enable
set save-password enable

end 

 

After that, connect to the VPN from FortiClient and the configuration will be pushed from FortiGate. Disconnect from the VPN and you should see those options. 

auto.PNG

 

Regards, 

rvillaroman
Staff & Editor
Staff & Editor
June 15, 2024

Hi @HS08,

 

Please note that this feature is only available on paid Forticlient version.

If this feature is required, kindly consider to purchase Forticlient EMS license.

 

Regards,

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!