One step at a time. Your progress is saved as you go.
STEP 1 OF 6
Name your connection
These details will be built into your Windows installer.
OPTIONAL ORGANIZATION SIGN-IN
AD FS for VPN administrators
The initial local administrator retains setup and account control. AD FS users can approve or revoke devices, change the client password, build installers and download deployment files. Your AD FS access policy decides which users may sign in and whether they need MFA.
Step-by-step AD FS setup
Open AD FS Management > Application Groups > Add Application Group. Choose Server application accessing a web API.
Copy the generated Client Identifier into Client ID below. Add this exact sign-in Redirect URI: .
Generate a shared secret, store it securely, and paste it below. The portal does not display a saved secret.
For the Web API, use the same Client Identifier as its Identifier. If you use a different Web API identifier, enter it in Resource below.
Assign the Web API an access control policy for the VPN administrators you allow. Add the required group and MFA to the same permit rule when you want both.
On application permissions for that client and Web API, allow openid and profile. The server must support authorization code with PKCE.
Save these settings, then check metadata. Test an allowed and a denied user with the AD FS sign-in button; a metadata check cannot verify your access policy, shared secret or MFA.
If configuring sign-out redirects, use . Local owner sign-in always remains available if AD FS is unavailable. Website sign-out ends this portal session; it does not end AD FS-wide SSO.
STEP 2 OF 6
Connect to OPNsense
We check API access before changing the firewall.
Prepare the API account
In OPNsense, open System → Access → Users and select your service account.
Grant CA Manager, Certificate Manager, CRL Manager, and the OpenVPN configuration/status privileges.
Make sure the account is not restricted to read-only access.
Create an API key and enter both its key and secret below.
STEP 3 OF 6
Let the portal prepare the certificates
No copying PEM files is required. The portal will import:
The public CA certificate. Its private signing key stays on this server.
The matching server certificate and server private key.
A signed certificate revocation list, kept current by the portal.
Existing certificates with matching fingerprints are reused when retrying. This step does not change the VPN instance.
Choose an existing server to migrate, or create a new one. The portal fills in its certificate references automatically.
STEP 5 OF 6
Sign the Windows installer
Upload an exportable Code Signing certificate with its private key. A VPN client certificate cannot sign installers.
How do I get the PFX from AD CS?
Create a dedicated Code Signing template with RSA 3072, SHA256, and Allow private key to be exported. Restrict enrollment to your build administrator.
Publish it on your issuing CA.
On your build PC, open certmgr.msc → Personal → Certificates → Request New Certificate and enroll that template.
Export the newly issued certificate with its private key as a password-protected PFX. Upload it here.
The earlier non-exportable certificate needs a replacement enrollment; changing its template does not make its existing private key exportable. Its issuer must be trusted by Windows on this build server.
STEP 6 OF 6
Verify access and build your installer
For a new tunnel subnet, make sure LAN routing returns traffic to OPNsense. The portal does not automatically change firewall rules.
Save & continue keeps edits in a draft. Only Apply changes & build installer changes the live deployment, imports certificates, updates the firewall and publishes the installer. Cancel is unavailable once applying begins.
Install on one PC and match its approval code in Device access. Test LAN access, reboot, and certificate revocation before wider rollout.
NETWORK ADMINISTRATION
Device access
The initial administrator must finish setup before this deployment is ready. Your VPN controls remain here.
Awaiting approval0Approved devices0InstallerReady
Device access
Device
Access
Last contact
VPN status
Actions
Install the client on a PC to request approval.
Revoked devices
These devices cannot obtain replacement certificates while revoked. Delete record removes the entry. A running updated agent can request approval again; an uninstalled agent stays absent. Old certificates remain revoked.
Device
Access
Last contact
VPN status
Actions
No revoked devices.
SETTINGS LOCKED
Your deployment is configured
Routine approvals and revocations happen on Devices. You do not need to reopen setup for those.
This changes the password for Unlock administration on approved Windows clients. It does not change your website login. Online PCs receive it on their next policy check; no MSI rebuild is needed.
Device domain restriction
Deploy agent version 1.2.0 or later before enabling this on existing PCs. No AD computer certificate is required.
Agents 1.2.1 and later automatically check for newer signed releases about hourly. Older agents need the updated RMM script or a manual MSI upgrade once. Upgrades preserve the saved pause setting.
AD FS sign-in
Select Deployment to read the saved AD FS status.
To edit AD FS, reopen setup below. Your local password and passkey remain the recovery sign-in.
Advanced: change deployment settings
Reopen for ten minutes to review or edit a draft. Save & continue does not change the live deployment. Cancel discards the draft. The final Apply changes & build installer starts live changes and can interrupt devices.
Website accounts
Every account uses its own password and passkey and can manage the VPN. Only the initial administrator can change setup or manage other accounts.
Share this temporary password securely. On first sign-in, the account must choose a new password and enroll a passkey. It cannot be retrieved later.
Account
Status
Sign-in setup
Created
Actions
Reset access replaces the password and removes passkeys. Disabling or deleting an account ends its website access. These actions do not change device approvals or VPN certificates. The initial account is protected.