luci-app-passwall2: sync upstream

last commit: 2d683f7de1
This commit is contained in:
gitea-action 2024-12-17 14:30:19 +08:00
parent 138156134a
commit 823e4f2691
2 changed files with 4 additions and 4 deletions

View File

@ -806,8 +806,6 @@ add_firewall_rule() {
ip -6 rule add fwmark 1 table 100
ip -6 route add local ::/0 dev lo table 100
filter_direct_node_list
[ "$ENABLED_DEFAULT_ACL" == 1 ] && {
local ipt_tmp=$ipt_n
[ -n "${is_tproxy}" ] && ipt_tmp=$ipt_m
@ -935,6 +933,8 @@ add_firewall_rule() {
# 加载ACLS
load_acl
filter_direct_node_list
echolog "防火墙规则加载完成!"
}

View File

@ -862,8 +862,6 @@ add_firewall_rule() {
ip -6 route add local ::/0 dev lo table 100
}
filter_direct_node_list
[ "$ENABLED_DEFAULT_ACL" == 1 ] && {
TCP_LOCALHOST_PROXY=$LOCALHOST_PROXY
UDP_LOCALHOST_PROXY=$LOCALHOST_PROXY
@ -985,6 +983,8 @@ add_firewall_rule() {
# 加载ACLS
load_acl
filter_direct_node_list
echolog "防火墙规则加载完成!"
}