autocore: add nftables status page

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
zxlhhyccc 2022-02-07 21:38:16 +08:00 committed by Tianling Shen
parent 1c9c6ec230
commit b009c0ce89
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@
"read": {
"cgi-io": [ "exec" ],
"file": {
"/usr/sbin/nft --json list ruleset": [ "exec" ],
"/usr/sbin/iptables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables": [ "list" ]

View File

@ -71,6 +71,7 @@
"read": {
"cgi-io": [ "exec" ],
"file": {
"/usr/sbin/nft --json list ruleset": [ "exec" ],
"/usr/sbin/iptables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables": [ "list" ]