Migrate from FortiGate SSL VPN to NetBird

A practical plan for moving remote users off FortiGate SSL VPN onto self-hosted NetBird groups, routes and policies while the firewall stays in place.

On this page

Migrate from FortiGate SSL VPN to NetBird without losing access control

If your FortiGate SSL VPN is up for renewal, your data residency rules require remote access to stay in your own environment, or you want to stop exposing a VPN portal to the internet, the move is a re-modeling exercise. You rebuild users, groups and firewall policies as NetBird groups, routes and access policies on a WireGuard overlay managed by a server you host. It is not a file copy, and the configuration you export from the FortiGate is an inventory to rebuild from, not something NetBird can import as is. The FortiGate stays in place as the perimeter firewall throughout, and the work is about who can reach which internal network, through which device, under which identity.

The people who usually carry this out are the internal network and security teams, often with an implementation partner for the self-hosted deployment. The effort depends mostly on how many VPN groups, portals and policies you have, how many internal networks users reach through subnet routes, and how much of your identity setup you move at the same time. The main risk is access drift: a policy that existed implicitly in a FortiGate portal or split-tunnel setting may not be obvious in the new model. Plan a parallel period in which both paths work, and have someone other than the author check that every FortiGate group maps to a NetBird group with an explicit rule.

Start by confirming what your self-hosted NetBird needs before you touch the FortiGate: a Linux VM, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin, as described in the NetBird self-hosting quickstart. Decide early whether an embedded identity provider is acceptable or whether you need SSO and MFA through your existing identity provider, since that choice affects how group membership flows into NetBird. Remember that backups, upgrades and scaling are your responsibility on a self-hosted deployment, so assign those owners before cutover.

Which FortiGate remote access features map cleanly to NetBird

This table maps the FortiGate remote access features you will export, such as users, groups, portals, policies, split tunneling, routes and MFA, to their NetBird equivalents. Read each row as clean, needs rework or gap, and treat the rework rows as design decisions to make before cutover. Confirm the exact feature set against the NetBird docs for your chosen release, because plan tiers change what is available.

FortiGate featureNetBird equivalentMapping statusWhat to confirm
VPN users and user accountsUsers synced from an external identity provider through SSO, with NetBird groups assigned to themNeeds reworkUsers are not copied one-to-one. Identities come from your SSO provider, and SCIM provisioning is listed on the Team plan, so confirm the provisioning path.
User groups tied to firewall policiesNetBird groups and access rules between peer groupsCleanMap each FortiGate group to a NetBird group, then rebuild each policy as a source group to destination group rule.
SSL VPN portals and web mode bookmarksNo portal equivalent. Clients connect to a mesh, and web apps are reached by their internal addressGapPortal bookmarks and web mode are not one-to-one. Plan separate handling for any browser-only access, such as a reverse proxy.
Tunnel mode routes and split tunnelingRoutes to external networks through routing peers, with optional exit nodes for full tunnel useNeeds reworkSplit tunnel behavior depends on which routes each client receives. Test which traffic leaves the device and which uses the overlay.
Firewall policies (addresses, services, ports)Access rules control peer-to-peer and peer-to-network traffic, but port and protocol granularity may differNeeds reworkConfirm which policy fields NetBird rules can express in your release and document any policy that needs a different control.
MFA on VPN loginMFA through the configured SSO provider, listed in the NetBird READMECleanMFA is enforced by the identity provider. Verify the factor and enforcement settings in your chosen SSO before users migrate.
Endpoint compliance checksDevice posture checks, device approvals and MDM or EDR controls, available on the Business plan on the NetBird pricing pageNeeds reworkIf FortiClient posture checks are required, the NetBird equivalent depends on your plan. Confirm the checks offered on your tier.
VPN and traffic logsActivity and traffic event logging, with traffic logging and streaming on Business and audit event logging on TeamNeeds reworkLogs have different fields and retention. Confirm log export and retention with your SIEM team before cutover.

What to extract from the FortiGate backup and rebuild in NetBird

The FortiOS configuration backup is the inventory for this move. Each card covers one item you pull from it or rebuild in NetBird, and the checks that prove the new access model matches what users had before cutover.

Protect the backup file itself

The YAML backup contains user records, group memberships, portal definitions and policy objects, so treat it as sensitive material. Confirm that the export is encrypted, store it in a restricted location, and keep only the copy you need for the migration. Record who holds the decryption passphrase, because a backup you cannot open is no inventory at all. Delete working copies once the cutover is verified and the audit record is filed.

Map FortiGate users to an external SSO

Users in FortiGate local accounts do not move as-is. In NetBird, identity comes from an external provider added to the embedded Dex identity provider, or from the SSO settings in NetBird Cloud. Match each FortiGate username to the directory account that will sign in, and flag accounts that exist only on the firewall. Confirm which SSO and MFA options your plan includes before you choose the provider, since NetBird's pricing page places SSO and MFA with an enterprise identity provider in the Team tier.

Self-hosting quickstart

Convert SSL VPN groups into NetBird groups

FortiGate groups that control portal access or policy matches become NetBird groups, which drive access rules and setup keys. Build one NetBird group per access tier, not one per FortiGate object, and keep the mapping in a table that shows each old group, its new group and its members. Groups that exist only for a single legacy portal may not need a counterpart at all. Ask whether SCIM provisioning will keep group membership in sync with your directory after cutover.

Rebuild firewall policies as access rules

Each SSL VPN firewall policy names a source group, a destination address and a service. Translate these into NetBird access policies that name the same groups and the same destinations, and test each rule against a user from the matching FortiGate group. Policies that allow whole subnets need a stricter review, because NetBird grants what the rule says and nothing broader. Note any FortiGate policy whose logic depends on a feature you cannot reproduce, and record it as a gap to resolve before cutover.

Define routes to internal subnets

Internal networks reachable through the FortiGate today become NetBird routes, and each route is served by a routing peer placed on the network it reaches. Map every destination subnet from the backup to one route, record which peer advertises it, and confirm that the firewall's own rules still permit that traffic from the routing peer. Routes with overlapping address ranges need a deliberate decision before they go live.

Automate with the API and Terraform provider

Entering users, groups, setup keys and routes by hand invites mistakes in a migration with dozens of objects. NetBird documents a public API, a Terraform provider and an Ansible collection, so you can script the rebuild from the mapping table and review it in version control. Confirm which resources each provider covers in the current release before you rely on it, and check the item list for anything with no direct export path, such as portal branding or custom login pages, which you must recreate by hand.

NetBird README

Migration sequence from inventory to decommissioning the VPN listener

This sequence moves remote users from FortiGate SSL VPN to NetBird in controlled stages, so each group is verified on the new path before the old listener is closed. The FortiGate stays in place as the perimeter firewall throughout.

  1. Build the inventory from the YAML backup

    Export the FortiGate configuration as a YAML backup and store it encrypted. The network or security engineer lists every VPN user, user group, portal, and firewall policy that grants remote access, and maps each one to the internal subnets and applications it reaches. The output is a written inventory with one row per user group, the resources it needs, and the policy that currently allows it. The step is done when the security lead has reviewed the inventory and confirmed no remote access path is missing.

  2. Stand up the self-hosted NetBird stack

    Prepare a Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 open, UDP port 3478 open, and Docker with the Compose plugin installed. Deploy NetBird from the self-hosting quickstart, which runs management, signal, relay, and STUN from one combined configuration with a dashboard and Traefik. Confirm the identity provider you will use, since the embedded Dex provider can be extended with external SSO. The output is a reachable admin dashboard with TLS working and a documented backup and upgrade owner, because your team handles those tasks in the self-hosted model.

  3. Run a pilot group on NetBird

    Choose one small user group from the inventory, ideally one with low risk and clear resource needs. Create the matching NetBird groups, enroll the pilot users through SSO, and add the access policies and routes they need. Pilot users connect with NetBird clients while still keeping their FortiClient profile disabled for the tested resources. The output is a pilot sign-off record listing each tested application, the user who tested it, and any gaps found. Do not advance until the pilot owner approves the record.

  4. Deploy routing peers behind the FortiGate

    Install a NetBird routing peer on a Linux host inside each internal network segment the remote users must reach, placed behind the FortiGate and on a network path that can reach those subnets. Configure the routes in NetBird so only the subnets from the inventory are advertised, and set access policies by group. Test each route from a pilot client, including DNS resolution for internal names. The output is a tested route set, a table of subnets, routing peers, and the groups allowed to use each route, with the test results attached.

  5. Run both paths in parallel

    Keep FortiClient SSL VPN active for all groups while the NetBird path is opened for the next groups in the inventory. Compare logs from both systems for the same users and resources, including NetBird activity and traffic events and FortiGate VPN logs. Watch for failed sessions, unexpected access, and users who fall back to the old VPN without reporting it. The output is a parallel-run log review signed by the security lead, listing any policy changes made during the run.

  6. Cut over each group and record it

    Move one user group at a time from the FortiGate path to NetBird, starting with the pilot group. For each group, remove its FortiGate VPN policy only after its NetBird access has been tested, and notify the users with instructions to install the NetBird client. Record the date, the group, the test evidence, and the rollback step for each cutover. The output is a cutover record covering every group in the inventory. Any group that fails testing returns to the parallel run until the fault is fixed.

  7. Close the SSL VPN listener

    After every group has cut over and the parallel-run log review shows no remaining use of SSL VPN, disable the SSL VPN web portal and tunnel listener on the FortiGate, and remove the related firewall policies and portal objects. Confirm from outside the network that the old listener no longer answers. Keep the encrypted YAML backup for the agreed retention period set by your records policy. The output is a decommission checklist signed by the network owner and the security lead, with each item verified.

How the NetBird overlay and routing peers sit beside the FortiGate

The self-hosted NetBird control plane is a separate system from the FortiGate, and the firewall keeps its place at the edge. A self-hosted deployment runs management, signal, relay and STUN from one combined configuration, with a dashboard container, a Traefik reverse proxy that obtains Let's Encrypt certificates by default, and an embedded Dex identity provider that can federate to an external SSO provider. Clients register with that control plane and form a peer-to-peer WireGuard overlay. When a direct path cannot be established, traffic falls back through the relay. Users never need a FortiGate SSL VPN tunnel to reach NetBird, so the FortiGate's SSL VPN listener is no longer the path for remote staff once cutover is complete.

Routing peers are the piece that replaces the firewall's tunnel for internal subnets. A routing peer is a NetBird client placed on a host inside the network that can reach the target subnets, and NetBird routes traffic for those networks through it. Place at least one routing peer per segment that users need, and confirm with your own network team whether the FortiGate policies for those segments can be reduced to allow traffic only from the routing peer's address. Keep the FortiGate in its perimeter role: it still filters inbound and outbound traffic, segments internal zones and enforces egress rules. Plan the routing peer's firewall rules, its return path and the allowed ports before you remove any VPN policy, and test each subnet with a pilot group first.

Licensing needs attention before you modify or host the stack for other parties. NetBird's clients are BSD-3-Clause, but the management, signal, relay and combined directories are AGPLv3, and the copyright belongs to NetBird GmbH and its authors. Running an unmodified server for your own staff is a different question from offering a modified server to customers or partners, because AGPLv3 can require source availability for network-accessible modifications. Have counsel review the NetBird LICENSE file against your intended use, and record the decision in the migration plan.

What drives cost and duration in a FortiGate to NetBird move

This table lists the factors that change the effort of moving remote users off FortiGate SSL VPN onto NetBird, why each one matters, and how to keep it manageable. Read it as an inventory checklist: count each driver in your FortiGate backup and environment before asking a partner or your own team for a quote.

DriverWhy it changes cost or effortHow to keep it down
Users, groups and portals in the backupEach VPN user, group and portal in the YAML export must be mapped to a NetBird user, group and access policy. Users with overlapping group memberships need a decision on each.Clean up stale accounts and unused portals before export. Map FortiGate groups to a small set of NetBird groups.
Firewall policies to rebuildEvery FortiGate policy that allows remote users to reach a subnet or host becomes a NetBird policy between groups and routes. Policies with broad source or destination ranges need splitting and testing.Consolidate redundant policies, document the purpose of each one, and test each rebuilt policy against a named user.
Internal subnets to routeEach internal network reached through VPN needs a NetBird network route, and a routing peer placed where it can reach that subnet. More subnets mean more routing peers, more testing and more firewall rules to confirm.Group subnets by application or site. Confirm which subnets are still in use before building routes.
Device mixNetBird clients run on Linux, macOS, Windows, Android, iOS and appliances such as pfSense, OPNsense and MikroTik RouterOS. Each platform needs its own install, enrollment and test pass. Unmanaged personal devices add support work.Limit supported platforms in the first wave. Use setup keys or your MDM tooling for managed devices, and confirm the client version each platform needs.
Posture and MFA requirementsDevice posture checks and traffic logging are listed on the Business tier of NetBird's pricing page, and SSO with MFA is listed on the Team tier. If FortiClient enforced posture today, that control must be rebuilt, and the plan tier needed must be confirmed.Write down which FortiClient checks and MFA prompts you rely on. Confirm with NetBird which features each plan includes before you choose a tier.
SSO integrationConnecting an external identity provider such as Microsoft, Google or Okta, and provisioning users with SCIM, adds configuration and testing. Self-hosted deployments use an embedded Dex identity provider unless you add an external one.Decide early which identity provider is the source of truth. Confirm SCIM support in your plan before you plan user provisioning.
Self-hosting operationsNetBird's documentation states that self-hosted operators handle backups, upgrades and scaling. This recurring work falls on your staff or your support partner, and it grows with user count and the number of routing peers.Agree on an upgrade cadence and backup schedule before cutover. Ask any partner to state in writing which of these tasks they run and which stay with you.
Infrastructure and staff timeA self-hosted deployment needs a Linux host with a public domain and specific ports open. Your costs are the host, the domain, the time to build and test, and ongoing operations. NetBird Cloud pricing is listed on its pricing page, which gives a per-user and per-machine comparison.Compare self-hosted host and staff costs against NetBird's published cloud tiers using your own user and machine counts. Ask any quote to separate one-time migration work from recurring operations.

What usually goes wrong and how to prevent it

Most failed FortiGate exits share a few causes: access was removed before replacement access was proven, implicit rules were never written down, and the new components were left unmonitored. Each card below names one of these failure points and the check that prevents it during the parallel run.

Closing the listener too early

Turning off the FortiGate SSL VPN portal before every user group has logged in through NetBird and reached its internal resources leaves people with no working path. Keep the listener open until each group in the exported inventory has a tested route. Ask a pilot user from each group to complete a full workday on NetBird, including file shares, internal web apps and any SSH targets, before scheduling the cutover.

Implicit FortiGate ordering rules

FortiGate policies are evaluated top to bottom, so some access exists only because of rule position, interface pairing or a default deny that nobody documented. NetBird uses groups, routes and access policies instead, so these implicit permissions will not appear on their own. Read each exported policy in order, write down what it allows in plain terms, and confirm every allowed flow has an explicit NetBird policy before cutover.

Identity mismatch between SSO and local users

Users who sign in to FortiGate with local accounts may not exist in the corporate identity provider, or may appear there under a different username or email. When NetBird is connected to SSO, these users can be locked out or matched to the wrong group. Compare the exported local user list with the identity provider directory, resolve duplicates and dormant accounts, and map each user to exactly one group before enabling SSO and MFA.

Routing peers without return routes

A NetBird routing peer placed behind the firewall can forward traffic to internal subnets, but internal hosts still need a route back to the NetBird overlay range or replies will be lost. Traffic may appear to connect in one direction and then stall. Before cutover, test from a remote user to a server on each subnet and confirm the server's default gateway or static route points correctly, and check that the firewall permits the flows the routing peer creates.

Unpatched or unmonitored self-hosted components

A self-hosted NetBird deployment includes the management, signal, relay and STUN services, a dashboard, a Traefik reverse proxy and an embedded identity provider. Each needs patching, certificate renewal and health monitoring, and NetBird's documentation states that self-hosted operators handle backups, upgrades and scaling themselves. Assign an owner for each component, subscribe to the NetBird GitHub releases, and set alerts on the public ports and certificate expiry before any user depends on the platform.

Losing audit logs during parallel run

During a parallel run, FortiGate VPN logs and NetBird activity events both matter for investigations and compliance evidence. If the FortiGate logs are not exported before the VPN is disabled, or NetBird event logging and retention are not configured, the record of who accessed what has a gap at the point of change. Confirm which NetBird plan or self-hosted settings provide audit event logging, forward logs to your central store, and keep the FortiGate logs until the review period ends.

How the move differs by team size and starting point

A small team with a few remote users and a single office usually has one FortiGate, a short list of VPN users and a handful of internal applications. The move is mostly about rebuilding a small set of groups and policies, deploying one routing peer behind the firewall and testing with a pilot group before the VPN listener is closed. Scope is narrow, so the export from the FortiGate is short and easy to review line by line.

  • User inventory: Match each FortiGate VPN user to a person who still needs access, and drop accounts for former staff or shared logins.
  • Groups and policies: Rebuild only the groups that map to real job roles, rather than copying every legacy firewall policy.
  • Single routing peer: Place one NetBird routing peer where it can reach the internal subnet, and confirm it can be updated on a schedule your team controls.
  • Pilot cutover: Move two or three users first, then close the SSL VPN listener once every user has connected successfully.
  • Self-hosting load: Confirm who will handle backups and upgrades, since the self-hosted quickstart leaves those tasks with the operator.

Before cutover, ask a second person to check that every user in the pilot can reach exactly the systems they need and nothing else.

Questions buyers ask before moving off FortiGate SSL VPN

How much effort and cost should we expect to move off FortiGate SSL VPN to NetBird?

Expect cost in three parts: the platform, the labor to rebuild access, and the work to run it afterward. NetBird's self-hosted software is open source under BSD-3-Clause for clients and AGPLv3 for the management, signal and relay components, so there is no license fee for the self-hosted server. The recurring costs are the virtual machine, the domain, your team's operating time for backups and upgrades, and any external identity provider you already pay for. Effort rises with the number of users, groups, portals and firewall policies you must rebuild, and with how many sites need a routing peer behind the FortiGate. Ask any partner for a line-item quote that separates one-time migration work from recurring operations. For plan figures on NetBird Cloud, check the NetBird pricing page directly, since those numbers change.

How long does a FortiGate to NetBird migration take?

The duration depends on scope, not on a single standard timeline. The main drivers are the number of VPN users and groups, how many portals and firewall policies map to distinct access needs, how many internal networks need routes, and how many change windows your organization requires. A small estate with a clean export and one site is much shorter than a multi-site environment with many routed subnets and formal approval steps. Ask for a written schedule that lists the discovery, rebuild, pilot, cutover and decommission phases, with the owner and exit criteria for each. Treat any duration a vendor gives you as an estimate until your own inventory is complete.

What does our internal team need to provide during the migration?

Your team supplies the knowledge the migration cannot infer from configuration alone. You need someone who can confirm which users and groups still need access, which applications sit behind each policy, and which networks must be reachable from remote devices. You also need network staff who can open the required ports on the firewall, approve routing peer placement, and manage DNS and certificates for the public domain. Identity administrators must agree how SSO and MFA will map to NetBird groups. Plan for named owners on each side and a sign-off process for each cutover wave.

Can our own engineers migrate off FortiGate SSL VPN without outside help?

Yes, if your team has experience with WireGuard-based overlays, Linux administration, Docker and reverse proxies. NetBird's self-hosting quickstart describes a Linux virtual machine with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478, and Docker with the Compose plugin. The harder work is usually the access model: translating firewall policies into groups, routes and policies without granting broader access than before. Self-hosted operators also own backups, upgrades and scaling, so decide who will carry that load after launch. An outside partner can plan the scope, implement and harden the deployment, and document it for your audit trail, but the choice depends on your staffing.

Do we have to replace the FortiGate firewall to move remote access to NetBird?

No. The FortiGate can remain your perimeter firewall while NetBird handles remote user access. NetBird routes traffic to internal networks through a routing peer, which you deploy inside the network behind the firewall, so the firewall keeps its segmentation and logging role. What changes is the remote access path: once users connect through NetBird, you can close the SSL VPN listener on the FortiGate. Confirm with your network team that the firewall policies allowing NetBird traffic to reach internal resources match the access model you designed, and that the routing peer has the paths it needs.

How does cutover avoid downtime for remote users?

Run both paths in parallel. Build the NetBird groups, routes and policies first, then move a pilot group and confirm access to each application they need. Expand in waves, keeping the FortiGate SSL VPN listener open until every wave has been verified and a rollback path exists. Only close the VPN listener after all users and routed networks have been confirmed on NetBird, and keep the FortiGate configuration export so you can restore earlier settings if needed. Schedule each wave with help desk coverage, and publish a short user guide for the NetBird client on each supported platform.

What should we ask a partner for in a written quote?

Ask for a fixed scope that lists the exact deliverables: the inventory built from your FortiGate export, the mapping of users, groups, portals and policies to NetBird objects, the routing peer design, the cutover plan and the decommissioning steps. Request the hardening work, the backup and upgrade procedure, and the documentation you will need for compliance reviews. Ask which items are one-time and which are recurring retainers, what testing and retest is included, and how changes after the scope is agreed are priced. Confirm who holds the administrator credentials at handover. DeployOpen plans, implements, hardens and documents self-hosted platforms in your own infrastructure, and works from a written scope agreed before work starts.

Is NetBird as secure as the FortiGate SSL VPN it replaces?

Security depends on the configuration, so compare controls rather than product names. NetBird supports SSO and MFA, groups and rules for access control, device posture checks, and activity and traffic event logging, with some of these on specific plan tiers according to NetBird's pricing page. Your review should confirm how MFA is enforced for every user, how posture checks are applied, how logs are retained and forwarded, and how administrator access to the management server is controlled. Map the result to the remote access expectations in NIST SP 800-171 requirements 3.1.12 to 3.1.14, which call for monitoring and controlling remote sessions and routing them through managed access points.

How users, routing peers and the FortiGate fit after cutover

The diagram starts with remote user devices running NetBird clients, which reach the self-hosted management, signal and relay stack over the internet. Traffic to internal subnets goes peer to peer over WireGuard where possible, or through the relay when a direct path is blocked. A routing peer placed on the internal network advertises the internal subnets to the overlay, so the FortiGate stays in place as the perimeter firewall. Check that the SSL VPN listener is closed once users are cut over and that the routing peer's own access to the firewall is limited to what it needs.

Remote users reach internal subnets through a routing peer while the FortiGate stays as the perimeter.

How DeployOpen scopes and runs a FortiGate to NetBird migration

DeployOpen plans and implements self-hosted NetBird inside your own infrastructure, working from an inventory of your FortiGate remote access settings to move users, groups and policies in a controlled sequence. The FortiGate stays in place as the perimeter firewall while the VPN listener is retired after cutover.

How we scope

  • Written scope lists which FortiGate users, groups, portals and firewall policies are in and out of the migration
  • Scope fixes the NetBird groups, routes and access policies that replace each FortiGate remote access rule
  • Scope names the networks behind the firewall that routing peers must reach, and who approves each one
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts

How we build

  • Deploy the self-hosted NetBird stack in your infrastructure, including its reverse proxy, identity provider settings and admin access
  • Connect SSO and MFA from your identity provider, and set posture checks and device controls in line with the agreed scope
  • Place routing peers behind the FortiGate and test reachability to each internal network before any user is moved
  • Test access policies against the agreed user groups, including denied paths, and document the results

How we hand over

  • Deliver a document mapping each original FortiGate policy to its NetBird group, route and access policy
  • Provide runbooks for onboarding users, adding routes and rotating setup keys, with the cutover and rollback steps
  • Confirm the VPN listener closure plan and the evidence that the FortiGate no longer accepts remote access sessions
  • Hand over the backup, upgrade and scaling responsibilities that your team keeps after the project ends

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Retainers can cover NetBird version upgrades, backups of the self-hosted stack and periodic access reviews
  • Ask for the support boundary, response expectations and change process to be written into the quote
  • DeployOpen prepares systems and evidence for compliance assessments but does not issue audit reports or certifications

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.