FortiGate SSL VPN vs Headscale

FortiGate SSL VPN keeps remote access on your firewall with vendor support. Headscale gives a self-hosted WireGuard mesh with Tailscale clients, best suited to a single small tailnet with in-house operators.

On this page

Which fits a small team: FortiGate SSL VPN or Headscale

A small IT team that already reaches its network through a FortiGate should keep the firewall for remote access unless it has a specific reason to move. FortiGate SSL VPN or IPsec with FortiClient fits when the firewall already carries the perimeter policy, the vendor support contract, the logging and the evidence an auditor has seen before. Headscale fits when the team wants a WireGuard mesh that uses Tailscale clients, has a clear reason to move users off firewall-terminated tunnels, and can run a control server that it patches, backs up and restores itself. Neither option is automatically the more secure one. NIST SP 800-207 says zero trust grants no implicit trust based on network location, and that applies to the FortiGate tunnel as much as to a mesh. Read the NIST SP 800-207 final publication before deciding which controls, not which product, deliver that outcome.

Headscale is a single-tailnet control server, and its own README positions it for personal use or a small open-source organization. Before choosing it, confirm that one tailnet covers your user population, your segments and your audit needs. Its ACLs and grants are usable, but OIDC groups cannot be referenced in ACLs, so access rules keyed to directory groups will need to be maintained by hand or expressed through other attributes. The project also states that it does not support or encourage running Headscale behind a reverse proxy or in a container. Ask who will own the control server host, its TLS certificates, its database backups and its upgrades. Headscale releases move quickly, so budget staff time for them, and confirm community support levels with the project rather than assuming a vendor SLA exists.

The compliance question is whether remote access is monitored, controlled and encrypted through managed access points, as described in NIST SP 800-171 requirements 3.1.12 to 3.1.14. A FortiGate already provides that record for many assessors, while a Headscale deployment will need its own logging, MFA enforcement at the identity provider and documented change control before an assessor will accept it. Map each CIS Controls v8.1 remote access safeguard and each NIST CSF 2.0 PR.IR-01 example to a named control in your environment, and test endpoint health checks, which Headscale does not provide in the way FortiClient does. If those controls cannot be shown for the new platform, keep the FortiGate for remote access and use a pilot to test the mesh alongside it.

Which option fits which scenario

This table matches common team situations to the better fit between keeping FortiGate SSL VPN or IPsec with FortiClient and running Headscale with Tailscale clients. Read each row against your own user count, identity setup, admin capacity and audit expectations, since Headscale's single-tailnet scope and community support are the conditions that decide most rows.

ScenarioBetter fitReason
One firewall, a few users, one admin with time to run a serverHeadscaleA single tailnet suits a small group, and one admin can run the control server, keep it patched and back up its database.
Per-user group policy driven by an identity providerFortiGate SSL VPN or IPsecHeadscale supports basic OIDC login but cannot use OIDC groups in ACLs, so group-based policy from the IdP needs manual upkeep or the FortiGate's own user groups.
Multiple tailnets or a separate tenant per clientFortiGate SSL VPN or IPsecHeadscale is scoped to a single tailnet, so separate client environments would need separate deployments and separate operational work.
Auditors expect vendor-supported remote access with a documented support pathFortiGate SSL VPN or IPsecHeadscale is community-maintained, so support depends on community channels and your own engineering, which your assessor may not accept as a support model.
Need to keep the FortiGate as the perimeter and reach whole subnetsHeadscale with subnet routersSubnet routers can sit next to the firewall and advertise internal routes, so users reach existing networks without moving the firewall policy model.
Headscale is not run behind a reverse proxy or in containers by the projectConfirm before choosing HeadscaleThe README says the project does not support or encourage these layouts, so check your hosting pattern against the project's stance before committing.

Where data and control sit under each option

Moving from FortiGate SSL VPN to Headscale changes where the coordination service, the traffic path, the identity dependency and the audit trail live. Each card below maps one of those locations to NIST CSF 2.0 PR.IR-01 and CIS Safeguard 6.4, and lists what to confirm before a decision.

Where the control plane runs

Headscale is the control server that exchanges WireGuard public keys, assigns client addresses, sets user boundaries and publishes advertised routes. On FortiGate, those functions sit in the firewall's own configuration. With Headscale, you run this server yourself, so it becomes a new system to patch, back up and monitor. The Headscale README says it is not meant to run behind a reverse proxy or in a container, so confirm your hosting model against that guidance before you plan the cutover.

Headscale README

Where traffic flows

With FortiGate SSL VPN, user traffic terminates on the firewall and is inspected there. With Headscale, clients use WireGuard tunnels, and traffic may pass through the embedded DERP relay or a peer relay when a direct path is not possible. Confirm which relays carry your traffic, where they run, and whether relayed payloads stay encrypted end to end before you describe the data path to an assessor.

Headscale features

Identity provider dependency

CIS Safeguard 6.4 expects MFA on remote network access, so the login path matters as much as the tunnel. Headscale supports basic OIDC login and refreshes user profiles from the identity provider, but OIDC groups cannot be used in ACLs and autogroup support is partial. Your MFA enforcement may therefore sit in the identity provider, while group-based access rules must be maintained in the Headscale policy. Confirm where MFA is enforced and which attributes the policy can read.

Compliance evidence and access reviews

NIST SP 800-171 requirements 3.1.12 to 3.1.14 expect remote access sessions to be monitored and controlled, and NIST CSF 2.0 PR.IR-01 expects segmentation by trust boundary and endpoint health checks before access. FortiGate produces VPN logs from one appliance, while a Headscale deployment produces logs from the control server, the nodes and any relays you run. Ask an assessor which session records, ACL exports and access review reports they will request, then confirm that your Headscale setup can produce each one.

NIST SP 800-171 Rev. 2

How a Headscale subnet router sits next to the FortiGate

Headscale does not replace the FortiGate. It is the coordination layer for Tailscale clients, and the FortiGate remains the perimeter firewall that decides what traffic may reach internal services. The practical pattern is a subnet router on a host inside the network that advertises the internal prefixes it can reach, so a remote laptop running a Tailscale client sends traffic for those prefixes through the tailnet to that router, which then forwards it to the internal server. The FortiGate still sits on the path for any traffic that crosses a firewall boundary, so its policies continue to apply. Before cutover, confirm which subnets are advertised, which router is approved for each, and that the FortiGate has explicit rules permitting the router's address to reach those services.

Router placement determines whether the firewall policy stays meaningful. If the subnet router sits on the same segment as the servers it exposes, the FortiGate may see no traffic to inspect, and the access decision moves entirely into Headscale ACLs. If it sits on a separate segment behind the FortiGate, the firewall logs and enforces the flow from the router to each destination, which is usually the stronger design for a team that already relies on FortiGate policy. Ask your network team to document the router's interface, its default route, and the rules that permit it, and test the path with a non-production client before advertising any production prefix.

The Headscale README states that the project does not support or encourage running Headscale behind reverse proxies or in containers. That guidance narrows where the control server can run. Plan for a plain host or virtual machine with a stable address and a certificate that clients can validate, and do not assume a containerized deployment behind an existing load balancer or a FortiGate virtual IP will be supported. Because every client depends on the control server to exchange keys and receive routes, its availability and placement are a design decision in their own right. Confirm the current deployment guidance in the Headscale documentation for your version before you commit to a topology.

Two paths to the same internal app, with different trust boundaries

The diagram starts with a remote user on a laptop running FortiClient or the Tailscale client. On the FortiGate path, FortiClient opens an SSL VPN tunnel that terminates on the firewall, which then admits the user into the internal network, so network location after the tunnel is the trust decision. On the Headscale path, the Tailscale client registers with the Headscale control server, which exchanges WireGuard public keys and applies ACLs, then sends traffic over the mesh to a subnet router placed beside the FortiGate. Check where each control plane runs, which component enforces access, and whether the subnet router is the only path into the application network.

Two access paths converge on one app, with the FortiGate and Headscale control plane marked separately.

Who runs each option day to day

With FortiGate, the firewall is an appliance you buy support for, and the SSL VPN listener is one feature on it. Your team's daily work is mostly change control: reviewing vendor advisories, scheduling firmware upgrades, testing policy changes and keeping FortiClient deployments current across laptops. The vendor carries the code and the security fixes, but your organization still owns the timing of every upgrade and the exposure of any internet-facing portal while a patch is pending.

  • Firmware and patch cadence: Track Fortinet's advisories for FortiOS and schedule upgrades inside a defined window. Internet-facing SSL VPN listeners need the shortest patch path, so write down who approves an emergency upgrade and who can roll back.
  • Vendor support: Your support contract determines whether you can open cases, receive hardware replacement and get guidance on configuration. Confirm the support tier, response terms and end-of-support dates for your model with Fortinet or your reseller before relying on them.
  • FortiClient deployment and policy: Keep the FortiClient version consistent across managed endpoints, and confirm how your endpoint management tool pushes updates. Client version drift is a common source of help-desk tickets during a firmware change.
  • Policy and firewall rules: Review user groups, portal assignments and firewall policies on a recurring schedule, and remove accounts for leavers. Export the configuration regularly so you have a known-good copy before each change.
  • Logging and review: Route VPN login and session logs to your log platform and review failed logins and unusual source locations.

Before relying on this model, confirm with your Fortinet contact which support and end-of-life terms apply to your exact firmware and model, and who on your team is authorized to approve emergency changes.

Cost components on each side

Headscale has no license fee, but the cost moves to the people and infrastructure that run the control server, the firewall, and the client fleet. FortiGate SSL VPN bundles much of this into a vendor subscription, so the comparison depends on what you pay for today and what you would staff in-house.

Licensing and subscription

FortiGate SSL VPN access sits on the firewall's FortiOS license and any FortiGuard or support services you attach to it, so the recurring line is the vendor subscription. Headscale is BSD-3-Clause licensed, so its software carries no license fee. Ask your reseller which FortiGate services are bundled with the SSL VPN feature set on your model, and confirm the current FortiOS release terms before comparing totals.

Headscale license

Control server hardware or VM

Headscale needs a host to run the control server, and that host is yours to size, patch and place. The README says the project does not support or encourage running it behind reverse proxies or in containers, so plan for a dedicated host or VM with its own certificate and DNS handling. This cost is one-time for hardware and recurring for the virtual machine or cloud instance. Ask your platform team what it would cost to add a second, standby host.

Tailscale client licensing for end users

Headscale works with Tailscale clients, and Tailscale's client code in the tailscale/tailscale repository is BSD-3-Clause licensed. The README states that the GUI clients for Windows, macOS and iOS are not open source, so confirm the licensing terms that apply to those installers before rolling them out to every laptop and phone. Compare this with FortiClient licensing, which is tied to the FortiGate entitlement. Check your endpoint fleet mix before you commit.

Tailscale client repository

Staff time for patching and backups

On FortiGate, Fortinet handles the SSL VPN code, but your team still applies FortiOS upgrades, reviews advisories and tests changes. On Headscale, your team owns the control server software, its database backups, certificate renewal and upgrades between releases. Expect this as a recurring effort that grows with the number of users and the number of upgrade cycles. Ask who in your team has time for monthly upgrades and tested restores.

Identity integration work

Headscale supports basic OIDC login and updates user profiles from the identity provider, but OIDC groups cannot be used in ACLs. That means group-based access rules may need to be rebuilt by hand, or mirrored through users and tags. FortiGate SSL VPN typically maps identity through local users, LDAP or SAML settings already in place. Budget for integration testing and for policy rework where your current group model does not carry over. Confirm whether your IdP supports the claims you need.

Headscale features

Support contracts and community help

FortiGate comes with vendor support contracts that give you a named support path and advisory feeds. Headscale is community-maintained, with documentation published for stable and development versions, and sponsorship and donation links in the repository. A community project offers no contractual response time. If you need a support path, you can buy one from a third party, or use a retainer for upgrades and testing. Ask what response commitment you need before you decide.

One-time migration labor

The one-time cost is the work to move users, subnet routes, ACLs and firewall policies from FortiGate to a tailnet, then retire the SSL VPN listener. Count the time to export current configuration, rebuild access rules, deploy subnet routers beside the firewall, and run a parallel period. Migration labor is a cost that drives both sides, so ask any implementation partner for a fixed-scope written quote before you compare totals.

What a move from FortiGate SSL VPN to Headscale involves

The sequence takes remote access from FortiGate SSL VPN to a Headscale tailnet in stages, with each stage ending in a check that the previous one holds. The result is a tested pilot group and a closed SSL VPN listener, with the FortiGate still acting as the perimeter firewall.

  1. Inventory users, groups, portals and policies

    Your network or security team reads the FortiGate configuration export and lists every SSL VPN user, user group, portal, split-tunnel setting and firewall policy that grants access to internal subnets. Record which applications each group reaches and which users sign in with local accounts versus an identity provider. The step is done when every remote access path has a row in the inventory and an owner has confirmed the list. For how to take that export, see the FortiGate configuration export page in this group.

  2. Decide tailnet scope and single-tailnet fit

    Architects and the business owners of the remote access service decide whether one tailnet can cover all of the inventory. Headscale is scoped to a single tailnet and its README aims it at personal use or a small open-source organization, so check the user count, the number of separate trust zones and whether any group needs administrative separation from another. Confirm with the Headscale documentation which features your design depends on, especially ACL behavior with OIDC groups, which the features page describes as limited. The step closes with a written decision to proceed or to choose a different option.

  3. Deploy the Headscale control server

    Your platform team installs Headscale on a host you control, following the README, which says the project does not support or encourage running it behind reverse proxies or in containers. Plan the TLS, DNS and network exposure around that constraint, and configure basic OIDC login with your identity provider if you want sign-in through SSO. Confirm that the server is reachable by the clients, that user profiles sync from the identity provider and that the release you install matches the version you tested. The step is done when a test node registers and receives an address.

  4. Place subnet routers beside the firewall

    Network engineers deploy Tailscale-compatible subnet routers on hosts inside the networks the FortiGate protects today, and advertise only the routes that the inventory assigns to remote groups. Keep the firewall policies as the perimeter control and confirm that return traffic from the internal hosts reaches the routers. The step is done when a test client reaches an internal application through an advertised route and the traffic is visible in your logs. Confirm the routing and firewall rules with your network team before any user traffic moves.

  5. Write ACLs and issue pre-authenticated keys

    Security engineers translate the inventory into Headscale ACL rules, using the tags and users that the control server supports, and test each rule against a test account in each group. Issue pre-authenticated keys for enrollment that suits your device process, and set expiry and ephemeral options deliberately for shared or temporary devices. Review the rules against the policy you already have on the FortiGate, so that no group gains access it did not have. The step is done when each group's test account reaches its expected services and is blocked from the rest, and the rule set is stored under version control.

  6. Pilot with one user group

    The service desk and the owner of the pilot group enroll a small set of users on Tailscale clients pointed at your Headscale server, while their existing FortiGate access remains available as a fallback. Collect feedback on login, DNS resolution, performance and any application that breaks on the new routes, and record each issue with its fix. The step is done when the pilot group has worked through its normal tasks for the agreed period and the owner signs off. Agree the pilot length and exit criteria in writing before it starts.

  7. Cut over and close the SSL VPN listener

    The project owner moves the remaining groups in batches, updates user guidance, and retires the FortiGate SSL VPN portal and its policies one group at a time. Once no active users depend on the listener, disable the SSL VPN service on the firewall and confirm from an external scan that the portal no longer answers. Keep the configuration export and the Headscale ACL files as the record of what changed. The step is done when the listener is closed, the rollback plan is documented and the support team has no open cases that depend on the old portal.

Questions buyers ask before choosing Headscale

How much effort does moving from FortiGate SSL VPN to Headscale take?

The effort depends mostly on how many users, devices, subnets and ACL rules you have, and on how much of your current FortiGate policy you need to rebuild by hand. Headscale itself is one control server, but each subnet you reach through the firewall needs a Tailscale client acting as a subnet router, and each user needs enrolled devices. Start by exporting your SSL VPN users, groups and firewall policies so you can count what must be recreated. The Headscale documentation lists subnet routers, ACLs and MagicDNS as features to plan for, so confirm which of them your current setup depends on before you estimate work. Ask any implementation partner for a quote built from that inventory rather than from a generic figure.

Can a small IT team run Headscale without outside help?

A capable team can run Headscale in-house if one or two people are comfortable with Linux, reverse-proxy-free server hosting, certificates, backups and the Tailscale client model. The Headscale README says the project does not support or encourage running it behind reverse proxies or in containers, so the deployment design needs care from the start. Whether your team can do this alone depends on its existing skills and on how much time it can give the work. Outside help is often used for the initial design, hardening, documentation and the first cutover, with the team keeping day-to-day operations. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your own infrastructure under a written, fixed scope, and can also provide ongoing retainers.

What does the team need to provide for the project?

Plan for three things: a named owner who makes access decisions, a test network where users and subnet routers can be checked before any change, and an agreed change window for cutover. The owner should approve the user groups, ACL rules and which internal subnets each router advertises. The test network lets you confirm that DNS, routes and ACLs behave as expected without touching production VPN users. The change window should allow a rollback to FortiGate SSL VPN until remote users have confirmed access. Ask your partner to list these needs in the written scope so that the dependencies on your staff are visible from the start.

Can one Headscale server serve several clients or departments?

Not as separate tenants. Headscale's stated design goal is a single Tailscale network (tailnet) suitable for personal use or a small open-source organization. Departments can still be separated inside that tailnet using users, tags and ACLs, but they share one control plane and one set of administrators. If you need strictly separate environments for subsidiaries, clients or regulated business units, plan separate Headscale instances or choose a platform designed for multiple networks. Confirm the isolation model you need in writing before you commit to the design.

How do OIDC groups limit ACL rules in Headscale?

OIDC groups cannot currently be used in Headscale ACLs, so you cannot write an access rule that says "members of this identity provider group may reach this subnet" and expect Headscale to enforce it directly. Headscale supports basic OIDC login and updates user profiles from the identity provider, and autogroups are only partly supported. In practice, you may need to maintain access by assigning users to ACL-referenced users, tags or groups inside Headscale, and keep those assignments in step with your identity provider through a documented process. Check the current feature list before design, because this is a limit that can change between releases. Ask whether your access model depends on group-based rules, since that will shape the effort.

What does community support mean when Headscale has an incident?

It means there is no vendor contract that guarantees a response time or a fix. Headscale is community-maintained, sponsored through donations, and its documentation is published separately for stable and development versions at headscale.net. Its release history shows ongoing versions, including v0.29.5 published on October 13, 2026, but a release date does not establish a support commitment. For an incident, you rely on your own runbooks, your staff's knowledge, public issues and any paid support you buy separately. Ask whether you need a retainer with defined response expectations, and confirm those expectations in writing rather than assuming them.

Does Headscale meet the remote access controls auditors expect?

Headscale can support controls auditors look for, such as multi-factor authentication through your identity provider, monitored remote sessions and encrypted transport, but it does not satisfy a control on its own. NIST SP 800-171 requirements 3.1.12 to 3.1.14 and CIS Controls Safeguard 6.4 ask for monitored and encrypted remote access and MFA, and your evidence must show how those are configured and operated. Headscale's ACLs, identity provider login and logging must be documented, tested and reviewed. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications, which independent auditors and certification bodies do. Confirm your assessor's expectations early.

When keeping FortiGate SSL VPN is the sound choice

Keeping the FortiGate is the sound choice when the firewall already sits at the center of your access control and your auditors accept its evidence. If your policies, logs and change records for remote access already live in FortiOS, and your assessors have signed off on that model, moving to a Tailscale-compatible control plane adds a second system to document. Before deciding, list the controls your auditor tests for remote access, such as multi-factor authentication for remote network access and the monitoring of remote sessions, and confirm which of them the FortiGate and FortiClient already evidence today. A move only makes sense if you can show equal or better evidence from the new platform.

Keeping FortiGate also fits when your users are mostly on managed Windows, macOS or mobile devices that FortiClient already supports, and when commercial support during an incident matters more to you than running the control plane yourself. Headscale is community-maintained, with its documentation published at headscale.net, so there is no vendor on call with a support contract. Check whether your existing Fortinet support agreement covers the firewall, the VPN features you use and the response times you need, and compare that against the staff hours your team would spend on upgrades and troubleshooting a self-run control server. Ask whether anyone on your team has operated a control server for a production network before.

Finally, treat FortiOS release changes as part of the decision, not a detail. Fortinet's changes to SSL VPN behavior can alter what your current setup needs, and that can tip the balance either way. Review the FortiOS 7.6.3 SSL VPN tunnel mode removal page before you commit to a path, and confirm with Fortinet which of your settings carry over to your planned firmware version.

How DeployOpen helps evaluate and migrate

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so the FortiGate SSL VPN vs Headscale decision can be tested against your real network before anything changes. We start from what your firewall, identity provider and access policies actually do today.

How we scope

  • We inventory the FortiGate SSL VPN users, groups, portals and firewall policies that a Headscale tailnet would need to replace.
  • We define which subnets, subnet routers and services sit behind the firewall and which ACLs would govern each group.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • We deploy a self-hosted Headscale control server in your infrastructure and connect it to your identity provider over basic OIDC.
  • We place Tailscale client subnet routers beside the FortiGate and test ACL rules against the access model you approved.
  • We check the single-tailnet boundary against your requirements and test the setup before you rely on it for remote access.

How we hand over

  • We document the deployment, ACL configuration, routing peers, backup procedure and the steps for upgrading Headscale releases.
  • We prepare evidence for compliance reviews, including access control settings and logging, for your security and compliance teams to examine.
  • We set out the remaining gaps, such as OIDC group limits in ACLs, so your team can decide how to close them before cutover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can retest the Headscale setup after changes to ACLs, identity settings or routing peers.
  • Ask us to confirm community support expectations and release timing with the project before you commit to a production schedule.

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.