Good morning,
I would like to know if possible, if there is a way to recover the configuration file of the S2S and RA VPN tunnels from a fortigate to copy it to another fortigate box.
Only VPN configuration.
Thank you in advance for your answers
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi,
Please see Technical Tip: How to load/convert a FortiGate con... - Fortinet Community if it may help, ideally copying the config to another FortiGate on same version should be possible.
Best regards,
Jin
you could get yourselve an unencrypted backup of that FGT. Then open that in some Text Editor and find the vpn config.
For IPSEC it starts with "config vpn ipsec". You need to get Phase1 and Phase 2 config of the tunnel.
You can then run that as script on the other FGT or paste into cli.
Just make sure you run the same FortiOS version on both because that could create issues with content that is only stored encrypted in the config like ipsec psks since the encryption changed between fortios versions.
Also you would need to copy all objects the ipsec depends on. That might be adresses/addressgroups if you use mode config or user/usergroups for xauth.
Also keep in mind that you might need to copy static routing and policies since IPSec will not come up if there is no policy for it.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.