网关模式下,mac打开chatgpt网站流量正常走了策略设定的节点,但是手机打开chatgpt网站走了Final的策略,配置文件如下。
[General]
skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
exclude-simple-hostnames = true
internet-test-url = http://taobao.com/
proxy-test-url = http://www.apple.com/
test-timeout = 2
dns-server = 223.5.5.5, 114.114.114.114, 2408:8899::8, 2400:3200::1,
encrypted-dns-server = https://223.5.5.5/ // 除非当地 ISP 有严重的 DNS 污染问题,否则没必要开启 DoH,传统 DNS 的性能最优,网络异常后恢复速度最快
wifi-assist = true
ipv6 = true
tun-ipv6 = true
ipv6-vif = auto
[Proxy Group]
🚀 策略选择 = select, "♻️ 自动选择", "🇨🇳 台湾节点", "🇬🇧 英国节点", "🇯🇵 日本节点", "🇭🇰 香港节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点", "🇰🇷 韩国节点", "🇷🇺 俄罗斯节点", "🇮🇳 印度", "🇩🇪 德国", "🇨🇦 加拿大"
♻️ 自动选择 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, interval=600, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0
💬 OpenAi = select, "🚀 策略选择", "♻️ 自动选择", "🇸🇬 新加坡节点", "🇭🇰 香港节点", "🇨🇳 台湾节点", "🇯🇵 日本节点", "🇺🇸 美国节点", "🇰🇷 韩国节点", DIRECT
🎥 奈飞视频 = select, DIRECT, "🚀 策略选择", "🇺🇸 美国节点"
🇭🇰 香港节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(港|HK|(?i)Hong))^((?!(台湾|日本|新加坡|美国|韩国|狮城|南朝鲜|US|SG|JP|KR|TW|台灣|美國|韓國|獅城)).)$, interval=600
🇨🇳 台湾节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(台|TW|(?i)Taiwan))^((?!(港|日|韩|新|美)).)$, interval=600
🇺🇸 美国节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(美国|美國|US|洛杉矶|西雅图|(?i)States|American))^((?!(香港|台湾|日本|新加坡|韩国|狮城|南朝鲜|SG|JP|KR|HK|TW|台灣|韓國|獅城)).)$, interval=600
🇰🇷 韩国节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(KR|Korea|KOR|首尔|韩|韓|(?i)Korea))^((?!(香港|台湾|新加坡|美国|狮城|南朝鲜|US|SG|HK|TW|台灣|美國|獅城)).)$, interval=600
🇷🇺 俄罗斯节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=🇷🇺|俄罗斯|RU|莫斯科|圣彼得堡|喀山|哈尔科夫|乌法|新西伯利亚|下诺夫哥罗德|沃罗涅什, interval=600
🇬🇧 英国节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=🇬🇧|英国|UK|伦敦|英格兰|伯明翰|泰恩河畔纽卡斯尔|利兹|爱丁堡|格拉斯哥|苏格兰, interval=600
🇯🇵 日本节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(日本|JP|(?i)Japan))^((?!(香港|台湾|新加坡|美国|韩国|狮城|南朝鲜|US|SG|KR|HK|TW|台灣|美國|韓國|獅城)).)$, interval=600
🇸🇬 新加坡节点 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=(?=.(新加坡|狮城|SG|(?i)Singapore))^((?!(香港|台湾|日本|美国|韩国|南朝鲜|US|JP|KR|HK|TW|台灣|美國|韓國)).)$, interval=600
🇮🇳 印度 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=🇮🇳|印度|IN|IND|孟买|新德里|高知|Republic of India|India, interval=600
🇩🇪 德国 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=🇩🇪|德国|DEU|DE|柏林|慕尼黑|汉堡|科隆|Germany, interval=600
🇨🇦 加拿大 = url-test, policy-path=https://sub.store/download/collection/all?target=SurgeMac, policy-regex-filter=🇨🇦|加拿大|CA|渥太华, interval=600
[Rule]
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/blocked.list,"🚀 策略选择"
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/cn.list,DIRECT
RULE-SET,https://ruleset.skk.moe/List/non_ip/direct.conf,DIRECT,extended-matching
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/OpenAi.list,"💬 OpenAi","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list,"🎥 奈飞视频","update-interval=86400"
DOMAIN,apps.apple.com,"🚀 策略选择"
DOMAIN-SUFFIX,ls.apple.com,DIRECT // Apple Maps
DOMAIN-SUFFIX,store.apple.com,DIRECT // Apple Store Online
RULE-SET,SYSTEM,"🚀 策略选择"
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/apple.list,"🚀 策略选择"
以下规则将触发本地 DNS 解析
RULE-SET,LAN,DIRECT
GEOIP,CN,DIRECT
FINAL,🚀 策略选择,dns-failed