Start/Restart/Stop (ifup/ifdown) and Enable/Disable (netifd auto) on the Peers page. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
33 lines
563 B
JSON
33 lines
563 B
JSON
{
|
|
"luci-app-amneziawg": {
|
|
"description": "Grant access to AmneziaWG server and peer management",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.amneziawg-peers": [
|
|
"list",
|
|
"get_settings",
|
|
"gen_obfuscation"
|
|
]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.amneziawg-peers": [
|
|
"setup",
|
|
"set_config",
|
|
"set_interface",
|
|
"restart_interface",
|
|
"service",
|
|
"change_cidr",
|
|
"add_peer",
|
|
"set_peer_address",
|
|
"remove_peer",
|
|
"set_enabled",
|
|
"set_route",
|
|
"set_peer_filter",
|
|
"get_config"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|