luci-wireguard.json 365 B

12345678910111213141516171819202122
  1. {
  2. "luci-proto-wireguard": {
  3. "description": "Grant access to LuCI Wireguard procedures",
  4. "read": {
  5. "ubus": {
  6. "luci.wireguard": [
  7. "getWgInstances"
  8. ]
  9. },
  10. "uci": [ "ddns", "system" ]
  11. },
  12. "write": {
  13. "ubus": {
  14. "luci.wireguard": [
  15. "generateKeyPair",
  16. "getPublicAndPrivateKeyFromPrivate",
  17. "generatePsk"
  18. ]
  19. }
  20. }
  21. }
  22. }