Skip to content

User Identity

os-useridentity · Users and access

Who is behind an address: logons from the domain controllers, RADIUS accounting and the captive portal, kept as pf tables per group and per user.

In the menu

  • With os-xgs-npu installed: XGS: User Identity
  • Without os-xgs-npu: Firewall: User Identity

Three sources, each chosen in Settings: the logon events of the Active Directory domain controllers, sent by NXLog Community Edition with the configuration the page gives; the RADIUS accounting of os-freeradius; and the sessions of the captive portal's zones. The latest logon wins an address, whichever source it came from, and two sources that clash over one are shown.

The directory chosen in System: Access: Servers is asked which of the chosen groups each user is in, nested groups too where asked. Each group and each user named gets a pf table, an alias in Firewall: Aliases that rules, os-trafficpriority and os-quota can name. Where os-xgs-npu is installed, an address that joins a table has the connections it already had cut, in hardware first. Off by default.

Features

  • Users

    The live map: each address with its user and the source that saw it, shared addresses and clashes marked.

  • Groups

    The group rows, the addresses each table holds, and a Test that asks the directory about one user.

  • Sources

    Each domain controller, RADIUS client and portal zone: when it was last heard, what it sent, and what was refused and why.

  • Alerts

    A domain controller silent too long, the directory failing, an address newly shared - for os-netreport to send.

  • A gateway by user

    The rules of Firewall: Rules that send a group's or a user's table by a gateway, with what pf holds of each; the plugin writes no rule.

Install and update

Since os-xgs-npu 0.2.0-alpha.1, XGS: Updates lists it on its Plugins tab, where it is installed and updated from its signed releases, and an update of the project installs it on an appliance that never had it; nothing is updated on its own. By hand, as root, on an XGS appliance or on any other OPNsense: from a checkout of the repository with sh install/install.sh, which puts the page under XGS with os-xgs-npu and under Firewall without it, and keeps the settings when run again; a copy installed this way is updated by its own self-update.py, and sh install/uninstall.sh takes it away. It is not in the OPNsense plugin repository.

Limits, and what is not tested yet

  • The page in a browser: the plugin ran on the second XGS 3300, the XGS 136 and a plain OPNsense, driven through the calls the page makes.
  • TLS from the domain controllers, and a domain controller sending over IPv6.
  • Several domains: users are known by their logon name alone.
  • The connections a device opens before its logon reaches the firewall are not in its user's table.
  • More, each with its reason: the README's Not yet, and why.

Repository

First release: 2026-11-20

os-useridentity Releases

Discussion

The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.