mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 04:43:56 +08:00
update 2026-08-28 02:44:45
This commit is contained in:
1 parent
9a3f194de9
commit
587815b344
25 files changed
+143
-250
No files matched your search
@@ -191,6 +191,7 @@ function acl_app(l)
|
||||
local config_path = api.TMP_ACL_PATH .. "/" .. flag
|
||||
local config_file = config_path .. ".json"
|
||||
local log_file = v.log == "0" and "/dev/null" or config_path .. ".log"
|
||||
local dns_server, dns_port = api.parseDNS(v.remote_dns)
|
||||
add_args(run_args, "flag", flag)
|
||||
add_args(run_args, "node", node[".name"])
|
||||
add_args(run_args, "redir_port", v.redir_port)
|
||||
@@ -199,8 +200,10 @@ function acl_app(l)
|
||||
add_args(run_args, "dns_listen_port", v.dns_port)
|
||||
add_args(run_args, "direct_dns_query_strategy", v.direct_dns_query_strategy)
|
||||
add_args(run_args, "remote_dns_protocol", v.remote_dns_protocol)
|
||||
add_args(run_args, "remote_dns_tcp_server", v.remote_dns)
|
||||
add_args(run_args, "remote_dns_udp_server", v.remote_dns)
|
||||
add_args(run_args, "remote_dns_tcp_server", dns_server)
|
||||
add_args(run_args, "remote_dns_tcp_port", dns_port)
|
||||
add_args(run_args, "remote_dns_udp_server", dns_server)
|
||||
add_args(run_args, "remote_dns_udp_port", dns_port)
|
||||
add_args(run_args, "remote_dns_doh", v.remote_dns_doh)
|
||||
add_args(run_args, "remote_dns_client_ip", v.remote_dns_client_ip)
|
||||
add_args(run_args, "remote_dns_detour", v.remote_dns_detour)
|
||||
|
||||
Reference in new issue
Block a user