summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-shadowsocks-libev')
-rw-r--r--applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js
index 172714c273..527a9e74fe 100644
--- a/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js
+++ b/applications/luci-app-shadowsocks-libev/htdocs/luci-static/resources/view/shadowsocks-libev/rules.js
@@ -64,6 +64,12 @@ return view.extend({
o.multiple = true;
o.noaliases = true;
o.noinactive = true;
+ s.taboption('general', form.Value, 'nft_tcp_extra',
+ _('Extra tcp expression'),
+ _('Extra nftables expression for matching tcp traffics, e.g. "tcp dport { 80, 443 }"'));
+ s.taboption('general', form.Value, 'nft_udp_extra',
+ _('Extra udp expression'),
+ _('Extra nftables expression for matching udp traffics, e.g. "udp dport { 53 }"'));
src_dst_option(s, 'src', form.DynamicList, 'src_ips_bypass',
_('Src ip/net bypass'),