Skip to content

Router objects and comments ​

Hive-Sync creates a small, known set of objects on a router. Each one carries a plain comment saying what it is for, so a person reading the router can see what to leave alone.

Comment format ​

hive-sync: <topic> - <what this is for>

The topic groups related objects, for example radius, address-list, mangle, route and tunnel. Examples:

hive-sync: tunnel - link to hub 1
hive-sync: radius - primary RADIUS server
hive-sync: address-list - suspended customers, sent to the pay page

Rules:

  • It says what the object is for, not who created it or when.
  • It contains no secrets and no customer data.

The prefix shown here is the one to rely on from the first release; the exact wording after the topic may change.

Objects ​

ObjectPurpose
WireGuard interface, one per hubTunnel to each hub
WireGuard peer, one per hubThe hub's public key and allowed address
Tunnel IP addressAddress for the router on each tunnel
RADIUS client entriesPrimary and secondary RADIUS servers
PPP authentication settingsUse RADIUS for PPPoE logins
Address list for suspended customersMarks customers in the slow lane
Mangle rules for suspended customersLet suspended customers' web and DNS requests reach the pay page before any policy routing
Firewall and NAT rules for the pay pageRedirect suspended customers' web requests to the pay page
Queue or rate limit objectsOnly where the RADIUS rate limit is not enough. To be confirmed.
Management user for Hive-SyncKey-based, least privilege

Finding them ​

/interface wireguard print where comment~"hive-sync:"
/ip firewall filter print where comment~"hive-sync:"

To be confirmed ​

  • The final list of objects for the first release.
  • The exact comment text for each object.

Hive-Sync is pre-release. Pages marked "Coming soon" describe work that is not finished.