Skip to main content
dbhavsar
Staff
Staff
July 7, 2025

Technical Tip: Import specific FortiClient VPN profile without losing other VPN profiles

Description

This article describes how to import a specific FortiClient VPN profile to FortiClient without affecting/losing other profiles.

Scope

FortiClient.

Solution

As per the following screenshot, there is currently only one profile configured, named 'LDAPS-FGT':

profile-one.png


Solution:

 

  1. Create a backup file of the current FortiClient configuration: Backing up the full configuration file.

  1. Similarly, create a backup file of the FortiClient from which the profile will be imported.

     

  2. Open both files in a text editor, as shown below:


notepad.png


The left file contains the 'LDAPS-FGT' profile, and the right file contains 'Imported-Profile'.

  1. Copy the configuration part from <connection> to </connection> (from the config file that is desired to be imported into the profile).

  2. Locate </connection> and in the next line, paste the configuration below the existing one or locate <connections>. In the next line, paste the configuration on top of the existing one.

  3. Save the configuration file and restore it in the FortiClient: Restoring the full configuration file.


The profile will import successfully:

new-profile.png


Update:

FortiClient v7.4 supports adding VPN configuration by importing an XML file:

2e583ca1.png


Previous VPN configurations will not be overwritten.

    2 replies

    Visitor III
    May 29, 2026
    You can't be serious!
    First I have to manually set the network ID to prepare the config file for our partners and then they run the risk of accidentally deleting their own config during import!?
    New Member
    July 11, 2026

    It’s infuriating. What kind of VPN client can’t even import a single config?

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT