From 0e62f08fe52c2f58b1c8e24cc9e6ad50ff0d5c92 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 10 Dec 2020 18:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20Update=20LAN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clash/Outbound.yaml | 1 + Quantumult/Outbound.conf | 8 +++++--- Surge/Outbound.conf | 7 +------ 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Clash/Outbound.yaml b/Clash/Outbound.yaml index 2527417..119250b 100644 --- a/Clash/Outbound.yaml +++ b/Clash/Outbound.yaml @@ -381,6 +381,7 @@ rules: - IP-CIDR,127.0.0.0/8,DIRECT - IP-CIDR,100.64.0.0/10,DIRECT - IP-CIDR,224.0.0.0/4,DIRECT + - IP-CIDR,fe80::/10,DIRECT # (可选)使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.yaml 时可禁用下列直至(包括)「GEOIP,CN」规则 # - RULE-SET,ChinaIP,DIRECT diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index 6419e65..cf32a18 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -177,11 +177,13 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit [filter_local] # Local Area Network 局域网 host-suffix, local, direct +ip-cidr, 192.168.0.0/16, direct ip-cidr, 10.0.0.0/8, direct -ip-cidr, 127.0.0.0/8, direct ip-cidr, 172.16.0.0/12, direct -ip-cidr, 192.168.0.0/16, direct -ip-cidr, 224.0.0.0/24, direct +ip-cidr, 127.0.0.0/8, direct +ip-cidr, 100.64.0.0/10, direct +ip-cidr, 224.0.0.0/4, direct +ip6-cidr, fe80::/10, direct # GeoIP China(若启用,则禁用 ChinaIP.list) -geoip, cn, direct diff --git a/Surge/Outbound.conf b/Surge/Outbound.conf index ac20720..f2192f5 100644 --- a/Surge/Outbound.conf +++ b/Surge/Outbound.conf @@ -170,12 +170,7 @@ RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ru RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/China.list,🌐Direct # Local Area Network 局域网 -IP-CIDR,192.168.0.0/16,🌐Direct -IP-CIDR,10.0.0.0/8,🌐Direct -IP-CIDR,172.16.0.0/12,🌐Direct -IP-CIDR,127.0.0.0/8,🌐Direct -IP-CIDR,100.64.0.0/10,🌐Direct -IP-CIDR,224.0.0.0/4,🌐Direct +RULE-SET,LAN,🌐Direct # 使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.list 时禁用「GEOIP,CN」规则 RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/ChinaIP.list,🌐Direct