Перейти к основному содержимому

Admin web interface

The admin web interface of a PiRogue 2.x is served at http://<PiRogue IP address>/admin, next to the dashboard. It requires pirogue-admin-client version >=2.0.8. To use it, see Administer a PiRogue from your browser.

Tokens​

TokenAccess
Administration tokenAll the features. Displayed by pirogue-admin-client access get-administration-token
User access tokenOnly the features granted to the user access

A section of the interface is only displayed when the token used to log in has the permissions it requires.

Sections​

The menu on the left is organized in two groups.

Information​

SectionDescription
StatusState of the PiRogue services.
ConfigurationCurrent configuration of the PiRogue (read-only), the same as pirogue-admin-client system get-configuration.
PackagesInstalled PiRogue packages and their versions. Useful to check at a glance whether a system update is needed.
NetworkDevices connected to the isolated interface, and ports currently open on it.

Configuration​

SectionDescription
SystemHostname, locale, time zone and password of the dashboard.
NetworkPublic access of the administration (domain name and contact email), Wi-Fi configuration and open ports of the isolated network.
AccessManagement of the user accesses.
VPNManagement of the WireGuard peers, see VPN.
SuricataManagement of the Suricata rules sources, see Suricata.

VPN​

Available when the operating mode of the PiRogue is VPN.

  • The Active Peers list shows all the WireGuard peers. New creates a peer and Delete removes the selected one.
  • For the selected peer, Keys displays its public key, private key and IPv4 address.
  • Configuration displays the WireGuard configuration of the peer as a QR code and as text. The person using the VPN only has to scan the QR code with the WireGuard application. See Manage the VPN peers.

Suricata​

The Rules sources list shows the Suricata rule sets known by the PiRogue. Select one to see its Details: name, URL, state, type, summary, vendor, license and parameters.

  • Enable activates a source and Disable deactivates it. Some sources need parameters before they can be enabled, in which case the interface displays a warning.
  • Create custom source adds your own source with a name and a URL.

Permissions​

Permissions are named Service:Permission, for instance System:GetStatus (see the status) or Network:ListVPNPeers (see the VPN peers). pirogue-admin-client access get-permission-list lists them all. Each section of the interface requires specific permissions, for example:

SectionRequired permissions
StatusSystem:GetStatus
ConfigurationSystem:GetConfiguration
PackagesSystem:GetPackagesInfo
Network (information)Network:ListConnectedDevices, Network:ListIsolatedOpenPorts
VPNNetwork:ListVPNPeers (Network:AddVPNPeer and Network:DeleteVPNPeer to create and delete peers)
SuricataServices:ListSuricataRulesSources
AccessAccess

Permission syntax​

The syntax of a permission is [MODIFIER]SERVICE[:PERMISSION]:

ModifierEffect
+Adds the permission.
-Removes the permission.
noneSets the permission and removes all the others.