Skip to content

docs(dms): document VPN profiles and Fortinet browser login - #146

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
avesst:docs/vpn-fortinet
Sep 10, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
avesst:docs/vpn-fortinet

Conversation

@avesst

@avesst avesst commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Documents the Fortinet VPN support added in duxlabs-dev/dux-shell#3384, and corrects a note here that the change makes wrong.

New page: VPN

There was nowhere to describe importing a profile or connecting to a gateway that authenticates in a browser, so this adds dankmaterialshell/vpn, placed after Lock Screen Authentication.

It covers:

  • Plugins and packages. NetworkManager handles VPN types through plugins, and a profile only works when its plugin is installed. The package name is a per-distribution prefix followed by the plugin name, given as a table, with the openconnect plugin spelled out since that is the one the new feature needs. The openconnect command is a separate package from the plugin, which is easy to miss.
  • Importing. What can be imported, as a table of formats. openfortivpn configs are converted by DMS; everything else goes to NetworkManager's own importers. Also the two things people try that do not work, a .nmconnection keyfile and GlobalProtect.
  • openfortivpn configs. Which keys are read and what each becomes. A saml-login line selects the browser login and its password is dropped; without one the profile uses password authentication and keeps the credentials the file carried. openfortivpn itself is never needed and never runs.
  • Fortinet gateways. The browser login sequence, the loopback port and how to change it, and the password path.
  • Server certificates. Trust is stored in the same format an openfortivpn trusted-cert line uses, and approving a certificate appends rather than replaces. Includes the limitation that approval is only remembered for connections started from DMS.
  • GlobalProtect and troubleshooting.

Correction on the diagnostics page

The openconnect section said native Fortinet authentication applies only to profiles with authtype=password. That is no longer true, so the note now names both authentication types, and says that with browser login any MFA happens at the identity provider rather than in a challenge form.

The section also gains a bullet for the browser login and a pointer to the new page for package names.

Notes for reviewers

  • Why a new page rather than more of the diagnostics page. The Fortinet material that exists today sits in that page's dependency sections, which describe things dms doctor does not actually check, and the note this PR corrects went stale there. Adding the browser login, the import rules and certificate storage would turn a diagnostics reference into a feature guide. If you would rather keep everything in one place, moving it back and dropping the new page is a small change.
  • This targets docs/ only, which is the unreleased 1.7 documentation. The feature is not in 1.6, so versioned_docs/ is untouched.
  • I moved the certificate prompt screenshot from the diagnostics page to the new page, where the certificate behaviour is now described in full. Happy to keep it in both places if you would rather.
  • Please do not merge before network: support fortinet vpn with saml and password auth dux-shell#3384 lands, since the page describes behaviour that does not exist yet.
  • npm run build passes, which is what catches the cross-page anchor links.

Written with Claude Code; I directed the structure and checked the behaviour it describes against the implementation, including testing how openfortivpn itself parses a saml-login line.

Adds a VPN page covering plugin packages, importing profiles, openfortivpn
config conversion, the Fortinet browser login, and server certificate trust.

Corrects the openconnect note on the diagnostics page, which said native
Fortinet authentication applied only to password profiles.

Co-Authored-By: Claude Opus 5 <[email protected]>
@bbedward
bbedward merged commit 4ca790c into duxlabs-dev:master Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants