mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 10:15:13 +08:00
🍓 Sync 2026-09-15 02:13:06
This commit is contained in:
1 parent
0e5393594c
commit
1dd96ac2bb
146 files changed
+26541
-508
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"admin/vpn/cloudflared": {
|
||||
"title": "Cloudflare Zero Trust Tunnel",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-cloudflared" ],
|
||||
"uci": { "cloudflared": true }
|
||||
}
|
||||
},
|
||||
"admin/vpn/cloudflared/config": {
|
||||
"title": "Configuration",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "cloudflared/config"
|
||||
}
|
||||
},
|
||||
"admin/vpn/cloudflared/tunnels": {
|
||||
"title": "Tunnels",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "cloudflared/tunnels"
|
||||
}
|
||||
},
|
||||
"admin/vpn/cloudflared/log": {
|
||||
"title": "Log",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "cloudflared/log"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"luci-app-cloudflared": {
|
||||
"description": "Grant access to Cloudflared configuration",
|
||||
"read": {
|
||||
"uci": [ "cloudflared" ],
|
||||
"ubus": {
|
||||
"service": [ "list" ]
|
||||
},
|
||||
"file": {
|
||||
"/etc/cloudflared/*": [ "read" ],
|
||||
"/var/log/cloudflared.log": [ "read" ]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "cloudflared" ],
|
||||
"file": {
|
||||
"/etc/cloudflared/*": [ "write" ],
|
||||
"/usr/bin/cloudflared *": [ "exec" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user