1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Add luci menu json

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-01 11:07:01 +02:00
parent c5c8bd41e3
commit 5b14298f47
20 changed files with 243 additions and 1 deletions

View file

@ -0,0 +1,13 @@
{
"admin/vpn/dsvpn": {
"title": "DSVPN",
"order": 10,
"action": {
"type": "cbi",
"path": "dsvpn"
},
"depends": {
"acl": [ "luci-app-dsvpn" ]
}
}
}

View file

@ -7,6 +7,7 @@
"path": "admin/network/firewall/zones"
},
"depends": {
"acl": [ "luci-app-firewall" ],
"fs": { "/sbin/fw3": "executable" },
"uci": { "firewall": true }
}

View file

@ -0,0 +1,24 @@
{
"luci-app-firewall": {
"description": "Grant access to firewall configuration",
"read": {
"file": {
"/etc/firewall.user": [ "read" ]
},
"ubus": {
"file": [ "read" ],
"luci": [ "getConntrackHelpers" ]
},
"uci": [ "firewall" ]
},
"write": {
"file": {
"/etc/firewall.user": [ "write" ]
},
"ubus": {
"file": [ "write" ]
},
"uci": [ "firewall" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/vpn/glorytun": {
"title": "Glorytun",
"order": 20,
"action": {
"type": "cbi",
"path": "glorytun"
},
"depends": {
"acl": [ "luci-app-glorytun" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/services/https-dns-proxy": {
"title": "Proxy DNS Over HTTPS",
"order": 20,
"action": {
"type": "uci",
"path": "https-dns-proxy"
},
"depends": {
"acl": [ "luci-app-https-dns-proxy" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/services/iperf": {
"title": "iPerf",
"order": 10,
"action": {
"type": "uci",
"path": "iperf"
},
"depends": {
"acl": [ "luci-app-iperf" ]
}
}
}

View file

@ -5,6 +5,9 @@
"action": {
"type": "view",
"path": "network/macvlan"
},
"depends": {
"acl": [ "luci-app-macvlan" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/services/mail": {
"title": "E-Mail",
"order": 90,
"action": {
"type": "uci",
"path": "mail"
},
"depends": {
"acl": [ "luci-app-mail" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/vpn/mlvpn": {
"title": "MLVPN",
"order": 30,
"action": {
"type": "cbi",
"path": "mlvpn"
},
"depends": {
"acl": [ "luci-app-mlvpn" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/network/mptcp": {
"title": "MPTCP",
"order": 10,
"action": {
"type": "cbi",
"path": "mptcp"
},
"depends": {
"acl": [ "luci-app-mptcp" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/services/nginx-ha": {
"title": "Nginx High Availability",
"order": 80,
"action": {
"type": "uci",
"path": "nginx-ha"
},
"depends": {
"acl": [ "luci-app-nginx-ha" ]
}
}
}

View file

@ -5,6 +5,9 @@
"action": {
"type": "view",
"path": "services/omr-bypass"
},
"depends": {
"acl": [ "luci-app-omr-bypass" ]
}
}
}

View file

@ -4,7 +4,7 @@
"read": {
"file": {
"/proc/net/xt_ndpi/proto": [ "read" ],
"/proc/net/xt_ndpi/host_proto": [ "read" ],
"/proc/net/xt_ndpi/host_proto": [ "read" ]
},
"ubus": {
"luci-rpc": [ "getHostHints" ]

View file

@ -0,0 +1,13 @@
{
"admin/network/omr-dscp": {
"title": "OMR-DSCP",
"order": 80,
"action": {
"type": "uci",
"path": "omr-dscp"
},
"depends": {
"acl": [ "luci-app-omr-dscp" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/network/quota": {
"title": "Quota",
"order": 90,
"action": {
"type": "uci",
"path": "quota"
},
"depends": {
"acl": [ "luci-app-omr-quota" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/services/omr-tracker": {
"title": "OMR-Tracker",
"order": 10,
"action": {
"type": "uci",
"path": "omr-tracker"
},
"depends": {
"acl": [ "luci-app-omr-tracker" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/system/openmptcprouter": {
"title": "OpenMPTCProuter",
"order": 1,
"action": {
"type": "uci",
"path": "openmptcprouter/wizard"
},
"depends": {
"acl": [ "luci-app-openmptcprouter" ]
}
}
}

View file

@ -0,0 +1,39 @@
{
"admin/services/shadowsocks-libev": {
"title": "Shadowsocks-libev",
"order": 59,
"action": {
"type": "firstchild"
},
"depends": {
"acl": [ "luci-app-shadowsocks-libev" ]
}
},
"admin/services/shadowsocks-libev/instances": {
"title": "Local Instances",
"order": 10,
"action": {
"type": "view",
"path": "shadowsocks-libev/instances"
}
},
"admin/services/shadowsocks-libev/servers": {
"title": "Remote Servers",
"order": 20,
"action": {
"type": "view",
"path": "shadowsocks-libev/servers"
}
},
"admin/services/shadowsocks-libev/rules": {
"title": "Redir Rules",
"order": 30,
"action": {
"type": "view",
"path": "shadowsocks-libev/rules"
}
}
}

View file

@ -5,6 +5,9 @@
"action": {
"type": "view",
"path": "system/shutdown"
},
"depends": {
"acl": [ "luci-app-shutdown" ]
}
}
}

View file

@ -0,0 +1,13 @@
{
"admin/network/snmpd": {
"title": "SNMPd",
"order": 91,
"action": {
"type": "uci",
"path": "snmpd"
},
"depends": {
"acl": [ "luci-app-snmpd" ]
}
}
}