diff --git a/luci-app-passwall2/root/usr/share/passwall2/iptables.sh b/luci-app-passwall2/root/usr/share/passwall2/iptables.sh index b48519c64..b81d39288 100755 --- a/luci-app-passwall2/root/usr/share/passwall2/iptables.sh +++ b/luci-app-passwall2/root/usr/share/passwall2/iptables.sh @@ -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 "防火墙规则加载完成!" } diff --git a/luci-app-passwall2/root/usr/share/passwall2/nftables.sh b/luci-app-passwall2/root/usr/share/passwall2/nftables.sh index f6cc4a617..9473ee1e6 100755 --- a/luci-app-passwall2/root/usr/share/passwall2/nftables.sh +++ b/luci-app-passwall2/root/usr/share/passwall2/nftables.sh @@ -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 "防火墙规则加载完成!" }