mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Sun Aug 31 20:34:09 CEST 2025
This commit is contained in:
@@ -214,14 +214,7 @@ if DNS_MODE == "socks" then
|
||||
|
||||
end
|
||||
|
||||
-- 判断是否为本地地址
|
||||
local is_local = w:match("127%.0%.0%.")
|
||||
or w:match("192%.168%.")
|
||||
or w:match("10%.")
|
||||
or w:match("172%.1[6-9]%.")
|
||||
or w:match("172%.2[0-9]%.")
|
||||
or w:match("172%.3[0-1]%.")
|
||||
if not is_local then
|
||||
if not api.is_local_ip(w) then
|
||||
server_param = server_param .. " -proxy " .. proxy_server_name
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user