How to export your remote access configuration from FortiGate

Remote access settings on a FortiGate can be pulled out as backups and reviewed as an inventory before you move users to a new platform. This page covers what to extract, how to protect the files, and how to confirm nothing was missed.

On this page

How to export your FortiGate remote access configuration before a move

The export is a configuration backup plus a manual inventory of users, groups, authentication settings, SSL VPN portals, IPsec tunnels and the firewall policies that allow remote traffic to reach internal networks. The exact export formats, encryption options and any size or field limits depend on your FortiOS version and on the administrator account you use, so confirm them in Fortinet's documentation for your exact build before you start. The firewall stays in service throughout this work. Nothing in the export changes the running configuration, and the output becomes the input for designing the new platform.

Start with a full configuration backup from the FortiGate administrative interface, then store it in an approved location with encryption applied to the file. Treat that file as sensitive: it can contain password hashes, pre-shared keys, certificate references and internal addressing. Confirm with your Fortinet documentation which backup format your version produces and whether the file is encrypted by default or only when you set a password. Keep a record of the FortiOS version, the configuration revision and the date of the backup so the inventory can be traced back to a specific state of the device.

Build the inventory from that backup and from the admin console, because the backup alone does not tell you who actually uses the VPN. List every local and remote user and group that can authenticate to SSL VPN or IPsec, the identity source behind each one, and the portal or tunnel each group can reach. Record the firewall policies that permit remote traffic to specific subnets, servers and ports, and mark the ones that are broad or inherited from older rules. Ask the business owners of each application to confirm who needs access today. That confirmed list, rather than the old policy set, is what you map to NetBird, OpenZiti or Pomerium groups and access rules.

What you can export from FortiGate and how to get it out

This table maps each remote access data type on a FortiGate to the export method you should confirm in Fortinet documentation, along with the file format and scope limits to check. Use it as a checklist when building the inventory for your new platform. Where a format or size limit is not confirmed here, confirm it with Fortinet support or the FortiOS documentation for your exact firmware before you rely on it.

Data typeExport method to confirmFormat and limits to confirm
VPN users and local accountsGUI configuration backup or CLI show output for local user objectsConfirm whether passwords and two-factor seeds are included and whether they are encrypted
User groups used by SSL VPN and IPsecGUI configuration backup or CLI output for user group objectsConfirm whether remote LDAP or RADIUS group mappings are included or need separate export
SSL VPN portalsGUI configuration backup or CLI output for SSL VPN portal profilesConfirm which portal options, such as bookmarks and realm settings, appear in the file
IPsec phase 1 and phase 2 settingsGUI configuration backup or CLI output for VPN tunnel objectsConfirm whether pre-shared keys are exported in clear text or masked
Firewall policies referencing VPN interfacesGUI policy list export or configuration backupConfirm the policy export format and whether the file keeps policy ordering
Address objects and address groupsGUI configuration backup or CLI output for firewall address objectsConfirm how FQDN and geography objects are represented in the file
Routes, DNS and split tunnel settingsGUI configuration backup or CLI output for static routes, DNS and SSL VPN split tunnel optionsConfirm which VPN-specific routes and split tunnel lists are included
FortiClient provisioning profiles and endpoint settingsEMS export or FortiClient profile configuration as documented for your FortiClient management setupConfirm whether provisioning profiles sit on FortiGate or FortiClient EMS and which export path applies

Why the export becomes the inventory for the new platform

A FortiGate configuration backup is raw material, not a migration plan. It mixes settings that are live with objects nobody uses anymore, default values that were never changed, and rules that were copied forward from earlier firewall projects. Treating the file as the design would carry old exceptions into the new platform and hide the access that matters. The team's first job is to turn the export into one inventory sheet that lists what actually grants access today: each VPN user or group, each portal, each firewall policy that allows traffic toward an internal network, and the internal hosts and ports behind every policy. Confirm the list against the live device as well, because a backup shows configuration at the moment it was taken and not who logged in last month.

Build the sheet one row per policy, so each row can be traced back to a source object in the export. Columns should include the source identity (user, group or portal), the destination address objects, the services and ports, the interface or zone it arrives on, and whether the policy is enabled. Mark the rows that point at address objects or service groups, and resolve those objects into the hosts and ports they contain. Rules that reference objects which no longer exist, or policies that are disabled but still present, should be flagged for a decision rather than silently copied. Any row you cannot explain is a finding to resolve with the rule's owner before the new groups, routes and policies are designed against it.

The backup does not record who owns a policy or why it exists, so add both columns yourself. Ask the network team, application owners and the people who approved the original VPN request to name an owner for each policy and state the business purpose in one sentence, such as a reporting database used by a finance team. Record a review date and a decision for each row: keep, retire or redesign. This is the step most often skipped, and it is where a migration stops being a copy of old access and becomes a reviewed set of access decisions. Keep the sheet under change control, because it becomes the reference for the cutover checks and for the evidence your assessors may ask to see later.

How the export flows from the firewall into a migration inventory

The flow starts at the FortiGate, where an administrator takes a configuration backup and stores it as an encrypted file in a secured review location. The team then parses the file, removes duplicates and clears unused objects, and turns what remains into an inventory of users, groups, portals and policies. Before that inventory is used as the basis for the new platform, it is checked against a live review of the firewall. Any object whose purpose is unclear goes back to its owner for a decision, so nothing is migrated on assumption.

Export path from FortiGate backup to a verified migration inventory, with owner decisions for unclear objects.

What does not export and how to recover it

A FortiGate configuration backup describes how remote access is built, but it does not hand over everything the new platform needs. The items below sit with the device, with users and endpoints, or with people, so each one needs its own capture step before cutover. Confirm which of them apply to your configuration with Fortinet documentation or support.

Device-held secrets and private keys

Backups that are encrypted with a password protect the configuration, but private keys and some pre-shared secrets may be stored in forms that cannot be read back as plain text. Treat them as lost until you verify otherwise. Check which VPN authentication material, LDAP bind passwords and RADIUS shared secrets your backup actually contains, and plan to generate new keys on the new platform instead of copying old ones. Ask Fortinet support how your FortiOS version handles key export before you assume a value is recoverable.

User passwords and MFA enrollment

Local FortiGate user passwords are normally not present in readable form, and MFA token registrations usually belong to the identity provider or the FortiToken service, not the firewall configuration. Your export therefore gives you usernames and group memberships, not credentials. Plan for each user to enroll again on the new platform, and confirm whether your MFA source is FortiToken, an external RADIUS or SAML provider, or a directory. The identity side of this work is covered in the identity pages of this site.

FortiClient installed state on endpoints

The configuration says which VPN profiles exist, but not which laptops have FortiClient installed, which profile each user runs, or which machines hold a cached tunnel certificate. Build this list from your endpoint management tool or a short user survey, because it decides which devices need the new client and which need removal after cutover. Confirm with the endpoint team whether FortiClient is managed centrally and whether its removal is scripted.

Historical logs and session records

Connection history, authentication events and traffic logs usually live on the FortiGate disk, on FortiAnalyzer or on a syslog server, and most of them fall outside a configuration export. Once the device is decommissioned or its log storage rotates, the record may disappear. Export the logs you must keep into your retention store before cutover, and confirm the retention period that your policy or regulator requires. Check the log retention settings on the device, since the default rotation may be shorter than your obligation.

Certificates to reissue

Portal certificates, SSL VPN server certificates and any certificate pinned by clients usually cannot move with the configuration in a form the new platform accepts. Inventory every certificate that the remote access portal presents, note its subject names and expiry, and request reissue for the new public hostnames. Clients that pin the old certificate will fail until they receive the new trust material, so schedule the reissue and client update together and confirm the process with your certificate authority.

Reasons behind policies and exceptions

A firewall policy shows source, destination, service and schedule, but not why an exception exists or who approved it. Those reasons often sit with an application owner or a former administrator, and they matter when you rebuild least-privilege access in the new platform. For each policy with a broad source, a wide destination or an unusual service, interview the owner and record the business purpose in your inventory. Without that record, the new rules may be stricter than the old ones and break workflows nobody remembered.

Export sequence for a complete remote access inventory

This sequence produces a verified, encrypted inventory of every FortiGate remote access object, user, portal, route and policy, so the new zero trust platform is built from a complete record rather than memory or screenshots.

  1. Confirm FortiOS version and admin rights

    The firewall administrator records the exact FortiOS build running on each FortiGate in scope and confirms the account used for export has read access to VPN, user, policy and routing objects. Export behavior and available sections differ between FortiOS releases, so the version recorded here determines which commands and views the rest of the sequence uses. Confirm the version against the device's system status view and check that the account is not a shared login. Done when the version, model and account name are written in the change record and the account's permissions have been tested by viewing one SSL VPN object without changing it.

  2. Schedule a read-only inventory window

    The change owner agrees a window in which the team only reads configuration and makes no edits, so the inventory reflects one stable state. Notify the network, security and service desk teams that remote access settings are being captured and that no VPN changes should be made during the window. Confirm the freeze in writing and record who holds the change. Done when the approved window, the named participants and the freeze notice are filed with the migration record.

  3. Take a full backup and record its checksum

    The administrator takes a complete configuration backup from the FortiGate, in both the native FortiOS format and a YAML export where the release supports it, then records a checksum for each file. The backup protects the rollback path and gives a reference copy for later comparison. Encryption passphrases and handling of the backup files must follow the organization's own key and backup policy. Verify by recomputing the checksum on a copy and confirming it matches the value recorded at creation. Done when both files, their checksums and the storage location are logged.

  4. Export SSL VPN, IPsec and referencing policies

    From the backup, the team extracts the SSL VPN settings, IPsec phase 1 and phase 2 definitions, and every firewall policy that references those tunnels or SSL VPN interfaces. Each object is listed with its name, source and destination addresses, services, schedules and security profiles so its purpose survives the move. Compare the counts of VPN portals, tunnels and referencing policies with the device's own object views. Done when the extracted counts match the device views and any mismatch has been explained and resolved.

  5. Capture users and groups from authentication sources

    The identity owner pulls the VPN user and group lists from the local FortiGate user store and from each external source the firewall queries, such as LDAP, RADIUS or SAML providers. Group membership used in policies is recorded alongside each user, and any local accounts that have no directory match are flagged for review. Compare the exported user count with the directory's active group membership and confirm that disabled accounts are identified separately. Done when each user and group is mapped to its authentication source and the discrepancy list is signed off by the identity owner.

  6. Document portals and their bookmarks

    The administrator records each SSL VPN portal, including its allowed realms, bookmark targets, host checks and login messages, and notes which internal applications each bookmark opens. This list shows which services users actually reach, which is what the new platform must cover. Check each portal's bookmark count against the device view and open a sample of bookmarks from a test account where policy allows. Done when every portal and bookmark is in the inventory and each has a named application owner.

  7. Record routes and DNS for remote users

    The network team exports the static and dynamic routes that send traffic to internal subnets for VPN clients, along with the DNS servers and suffixes pushed to remote users. These settings reveal which networks remote users depend on and which internal names they resolve, both of which a new overlay or routing peer must reproduce. Verify the route table against the routing view on the device and confirm that each internal subnet maps to a known application or owner. Done when the route and DNS records are complete and every subnet is either assigned to a service or marked as needing review.

  8. Store the inventory encrypted with named access

    The team combines the exports, checksums and reviewer sign-offs into a single inventory package, encrypts it, and stores it in a location limited to named staff. Access is granted by name, logged, and reviewed under the organization's data handling policy, and the inventory is not copied to unmanaged devices or shared drives. Confirm the package opens with the approved key holder and that the access list matches the change record. Done when the encrypted inventory, its access list and the verification results are filed, and the team can point to every object counted in the device views.

How to verify the export is complete before the firewall changes

Before any firewall change, reconcile the export against the live FortiGate so you know the inventory is complete. Start with object counts: compare the number of VPN users, user groups, SSL VPN portals and firewall policies that reference remote access in the backup with the counts shown in the firewall's own views for the same objects. Any mismatch is a gap to resolve before design work begins. Then walk a sample of policies, perhaps every policy that permits traffic from the SSL VPN interface, and for each one record its source and destination objects, the users or groups it names, and the team that owns the application behind it. Ask the owners to confirm the list is what they expect.

Next, check references in both directions. Every user or group named in a remote access policy should appear in your inventory, and every address object, service, schedule and certificate a policy references should exist in the backup. A policy that points to an object missing from the file is a sign of an incomplete export, and a silent gap of this kind is exactly what surfaces after cutover. Where the organization has a lab or secondary FortiGate, restore the backup there and confirm the VPN portal, groups and policies load and behave as on production. Treat the restore as a test of configuration structure only. It cannot prove that secrets such as pre-shared keys, LDAP bind passwords or certificate private keys were carried over, and it cannot show the MFA enrollment state of any user, since that lives in the identity provider or FortiToken records. Note those items separately and confirm them with the identity team.

Have a second person review and sign off the inventory before any design work starts, ideally someone who did not run the export. Record who performed each check, the date, the firmware version in use, the backup file name and the counts compared. Keep this verification record with the inventory, because it becomes evidence for an internal audit or an external assessment that asks how you established the scope of remote access. Retain it under the same controls as the backup itself, since it names users, groups and internal addresses.

Choosing an export method for your FortiGate environment

A single FortiGate managed from its own web GUI is the simplest case because one device holds the whole remote access configuration. Start by confirming in the Fortinet documentation for your FortiOS version how to produce a configuration backup from the GUI or the CLI, and whether that backup is a full configuration file or a set of YAML or text exports for specific objects. Decide whether the backup should be encrypted and where the password for it will be held, since the file contains user and credential material.

  • Backup path: Confirm the menu location or CLI command for a full configuration backup in your FortiOS release, then test that a restore file can be opened offline.
  • Encryption: Use the backup encryption option if your version offers it, and store the passphrase in a separate secrets store, not beside the file.
  • Access rights: Use an administrator profile with read access to VPN, user, and firewall policy objects. Record the account used and the date of export.
  • Objects to extract: Local users, user groups, SSL VPN portals, IPsec phase 1 and 2 settings, address objects, and the firewall policies that reference them.
  • Record: Keep the FortiOS version, the export timestamp, the hostname, and a hash of the file so a later comparison shows whether the config changed.

Before relying on the export, confirm with your own administrator that the file contains the objects you expect by checking a few known VPN users and policies.

What to plan before the FortiGate contract ends

The export is only as useful as the contract window around it. The cards below cover the decisions to settle while the FortiGate still has support, firmware and a living configuration, so the inventory you extract is complete and can be trusted by the team that inherits it.

Confirm support and licensing terms

Check which support entitlement, license and firmware access govern reading the configuration and downloading the matching FortiOS build. A backup file is only readable on firmware it was created for, and some entitlements end at the renewal date. Ask your vendor account team in writing whether backups, configuration exports and firmware downloads remain available after the term ends, and have legal counsel review the answer against your agreement.

Schedule the export before any lapse

Run the configuration export while the device is licensed, supported and reachable, and before any change freeze or hardware swap. Take the export on a known firmware version and record that version next to the file. Treat the first export as a baseline, then repeat it after each policy change during the migration window so the inventory matches what users actually reach.

Assign inventory ownership after exit

Name one owner for the extracted inventory of users, groups, portals and policies before the firewall is switched off. This person decides which entries map to NetBird, OpenZiti or Pomerium objects, signs off on removed items, and keeps the record current. Without a named owner, stale accounts and unreviewed firewall rules tend to be copied into the new platform.

Plan the coexistence period

Decide how long the FortiGate keeps serving SSL VPN while users move, and who approves the cutover date. Keeping the listener open longer extends exposure, while closing it early strands users who have not been migrated. Map which groups move in each wave and confirm the firewall still receives the security updates it needs during that period.

Set a retention rule for backups and logs

Define how long configuration backups, exported YAML and VPN and authentication logs are kept, where they are stored and who may access them. Backups contain password hashes, certificates and addresses, so they need the same protection as other sensitive records. Confirm with your compliance and legal teams which retention period applies to the records you hold, and encrypt every backup file at rest.

Ask the vendor what export help is included

Request in writing what configuration export, conversion or migration assistance the vendor provides, at what cost, and within which deadline. Ask whether the support contract covers troubleshooting a failed export and whether any tooling is offered for reading the backup. Keep the answer with the contract file, since it defines what you can rely on if the export fails close to renewal.

Common questions before exporting FortiGate VPN settings

How much effort does exporting FortiGate VPN settings take?

The effort depends mostly on how much remote access has accumulated on the firewall over time. The main drivers are the number of VPN users, local and remote user groups, SSL VPN portals, firewall policies that reference VPN interfaces, and stale objects such as accounts nobody uses or policies nobody can explain. A small, recently cleaned configuration is a short review. A firewall that has been changed by several administrators for years needs a line-by-line pass, because every policy has to be traced to a business purpose before it becomes an entry in the new platform's inventory. Ask any provider to break its estimate down by object type and to state which items it assumes are already documented.

Can our own team export and inventory the configuration without outside help?

Often yes, if the team has the right mix of skills. The person doing the export needs working knowledge of FortiOS administration, including how the configuration backup is produced and how users, groups, portals and policies reference each other. A second person should know the identity source behind the VPN, such as LDAP, RADIUS, SAML or local accounts, because that determines who the users really are after migration. A third reviewer must understand the applications behind each policy, since only the application owners can confirm whether an old rule is still needed. If any of these roles is missing, the inventory will look complete but will not be accurate.

What does the business need to provide during the export?

The business has to name policy owners and confirm purpose. A firewall rule that allows a group of users to reach an internal system is a statement about who should have access, and only the people who run that system or that team can say whether it is still correct. Plan time for these owners to answer questions, and agree in advance who decides when an owner cannot be found. Decisions about which access to keep, narrow or retire belong to the business and its security governance, not to the person copying settings out of the firewall.

Do we need a consultant for the export and inventory?

You do not always need one, but a consultant is worth considering when the configuration is large, when the same people who built it are the only ones who understand it, or when the output must be defensible to auditors. A fixed-scope export and inventory engagement, which DeployOpen delivers under a written scope agreed before work begins, typically covers: collecting and checking the backups, listing users, groups, portals and policies, mapping each item to an owner and purpose, flagging stale or overly broad objects, and producing a reviewed inventory that feeds the new platform design. It does not include the migration itself unless the scope says so.

How should we protect FortiGate backup files and the inventory?

Treat the backup as sensitive. A full configuration can contain password hashes, pre-shared keys, certificates, internal addresses and the names of every remote user. Use the encryption option available for backup files in your FortiOS version, store the encryption password in a secrets manager rather than in a ticket, and restrict access to named administrators. Keep the inventory in a controlled location with an access log, and delete working copies after the migration is accepted. Confirm the exact encryption options and any transfer methods with Fortinet documentation or your own change process before you rely on them.

What should we ask for in a written quote for this work?

Ask the provider to list the deliverables in writing: the backup files collected and how they were verified, the inventory format, the list of objects reviewed by type, the owner sign-off process, and what happens to items with no identified owner. Request the assumptions behind the effort, such as the number of users and policies in scope, the number of review sessions, and whether portals and identity sources are included. Confirm the timeline, who performs each step, what the client must supply, and what is excluded, such as the migration, decommissioning or retesting. A quote that cannot be traced to these items is not yet comparable with others.

Which FortiOS settings should the inventory capture first?

Start with the objects that control who can connect and what they can reach. For each remote access user or group, record the identity source, the membership, and the last login if your logs show it. For each SSL VPN portal, record the bookmarks, the realm and the allowed group. For each firewall policy that uses the VPN interface, record the source, destination, service, schedule, NAT setting and logging. Mark anything that is disabled, duplicated or unused. Confirm field names and exact export commands against the FortiOS version you run, because the layout of the configuration output changes between releases.

How DeployOpen scopes an export and inventory for a FortiGate exit

DeployOpen treats the FortiGate export as the first deliverable of a remote access move, not a side task. We agree in writing what is extracted, how each user, group, portal and policy is mapped, and what the resulting inventory will drive on the new platform.

How we scope

  • Engagements are fixed-scope, with the export inventory, deliverables and timeline agreed in writing before work starts.
  • The written scope names which FortiOS and YAML backups are reviewed, and which VPN users, groups, portals and policies are inventoried.
  • Scope also records how backup files are encrypted, stored and handled, and who in your organization holds access to them.

How we build

  • We extract remote access settings from the FortiGate and map each portal and firewall policy to a candidate target object.
  • Inventory entries are cross-checked against your identity source so every user and group has a clear owner and status.
  • Gaps such as settings that do not carry over to the new platform are flagged and documented, with the decision left to your team.

How we hand over

  • You receive a written inventory covering users, groups, portals, policies and the mapping to the chosen open-source platform.
  • The handover documents which exports were taken, when, and how the encrypted backup files were protected and retained.
  • Open questions, such as settings to confirm with Fortinet documentation or your own environment, are listed with owners.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the new platform is in place.
  • Retesting of the inventory mapping can be included in the written scope if cutover timing changes.
  • Support questions about the export or the migration path can be raised through the agreed engagement channel.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.