Files
luci-app-zt-gateway/root/usr/share/rpcd/acl.d/luci-app-zt-gateway.json
Malar Invention cd429291ef feat: add gateway setup wizard and fix test suite
New zt-gateway-setup script with subcommands for configuring this
router as a ZeroTier exit gateway: bridge, routing (tables 100/101),
DHCP, hotplug, and persistence. Exposes setup ubus method via backend
with ACL and LuCI panel in overview.

Also fixes two pre-existing test issues:
- overview.spec.ts: active gateway radio is intentionally enabled
  (users need to re-trigger switch for the already-selected gateway)
- drain.spec.ts: stubs drain status via page.route() since Docker
  has no real conntrack entries; fixed Playwright glob pattern bug
  where **/ubus* fails to match /ubus/?timestamp (regex needed)
2026-07-13 08:48:53 +05:30

26 lines
557 B
JSON

{
"luci-app-zt-gateway": {
"description": "ZeroTier Exit Gateway switching",
"read": {
"uci": ["zt-gateway", "network"],
"ubus": {
"zt-gateway": ["status", "health", "drain_status", "setup"]
},
"file": {
"/etc/hotplug.d/net/99-zerotier-bridge": ["read"],
"/etc/rc.local": ["read"]
}
},
"write": {
"uci": ["zt-gateway", "network"],
"ubus": {
"zt-gateway": ["switch", "cancel_drain", "setup"]
},
"file": {
"/etc/hotplug.d/net/99-zerotier-bridge": ["write"],
"/etc/rc.local": ["write"]
}
}
}
}