Fortinet Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
kfrauendienst
New Contributor

Exporting/importing a single VPN connection

Good afternoon,

 

In FortiClient VPN, when adding a connection, the third option is XML.  I would like to know how to create this XML file to import a VPN connection so that I can hand it off to others who need to import it. 

 

I have tried a full and partial backup configuration of FortiClient with no success.  It just doesn't do anything after clicking import, and the save button stays grayed out.

 

Thanks

2 REPLIES 2
aahmadzada
Staff
Staff

Hi,

Please take a look to this document:

https://docs.fortinet.com/document/forticlient/6.0.1/xml-reference-guide/749677/back-up-and-restore-...

 

Hope it helps to address your query.

 

Ahmad

kfrauendienst

Thanks for the link.  I still have some issues.

 

The "-i 1" argument they use in the examples appears to be undocumented.  The built-in help for FCConfig.exe doesn't mention the -i argument, nor does the document explain it.

 

When I run the command "FCConfig.exe -f settings.conf -m vpn -o exportvpn" it returns "hr 1 80070002 ffffffff" and doesn't create the file settings.conf.

 

Also I don't see an option to export a single VPN configuration.