Merge pull request #9 from DivineEngine/master

Master
pull/60/head
Ti800 5 years ago committed by GitHub
commit 287175f561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,7 +125,7 @@ proxies:
# 支持的协议及加密算法示例请查阅 Clash 项目 README 以使用最新格式https://github.com/Dreamacro/clash/blob/master/README.md
# Shadowsocks(Websocket + TLS)
- name: "HK"
- name: "1"
type: ss
server: server
port: 443
@ -143,7 +143,7 @@ proxies:
# custom: value
# VMess(Websocket + TLS)
- name: "US"
- name: "2"
type: vmess
server: v2ray.cool
port: 443
@ -159,7 +159,7 @@ proxies:
# Host: v2ray.com
# Trojan
- name: "SG"
- name: "3"
type: trojan
server: server
port: 443
@ -191,16 +191,28 @@ proxy-providers:
# 1.模式选择「进阶模式」 2.填写订阅链接 3.勾选「输出为 Node List」 4.「生成订阅链接」
#
DuckDuckGo-Sub: # 冲鸭机场订阅链接
# 此处只是订阅示例,如果没有订阅链接的使用需求,此处及 proxy-groups 的相关内容可删除
DuckDuckGoList: #「冲鸭机场」订阅
type: http
url: "https://duckduckgo.security/user/sub.php?token=DivineEngine"
url: "https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/ProxyList/List.yaml" # 放机场订阅链接
interval: 3600
path: ./Proxy/ProxyList.yaml # 不同机场不同命名
path: ./Proxy/List.yaml # 注意此处文件名可相
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
# DuckDuckGoUS: #「冲鸭机场」订阅美国地区节点
# type: http
# url: "https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/ProxyList/US.yaml" # 放机场订阅链接
# interval: 3600
# path: ./Proxy/US.yaml # 注意此处文件名不可相同
# health-check:
# enable: true
# interval: 600
# url: http://www.gstatic.com/generate_204
proxy-groups:
# 策略组示例请查阅 Clash 项目 README 以使用最新格式https://github.com/Dreamacro/clash/blob/master/README.md
@ -214,13 +226,39 @@ proxy-groups:
# 「PROXY」是代理规则策略它可以指定为某个节点或嵌套一个其他策略组「自动测试」、「Fallback」或「负载均衡」的策略组关于这 3 个策略组的具体示例可以看官方示例https://github.com/Dreamacro/clash
#
# 注意此处的「use」而不是「proxies」当然也可以不用在此先嵌套一个策略组进行选择可以直接使用
#
# # 代理节点选择
# - name: "PROXY"
# type: select
# use:
# - DuckDuckGo # 嵌套使用订阅节点策略组
# proxies:
# - Fallback
# - 1
# - 2
# - 3
#
# 但如果订阅节点很多选起来就很麻烦,不如先嵌套一个策略组进行手动或自动的选择。
# 手动选择订阅节点
- name: "DuckDuckGo"
type: select # 亦可使用 fallback 或 load-balance
use: # 注意此处是「use」
- DuckDuckGoList # 这是上面「proxy-providers」的名称
# - name: "US"
# type: select # 亦可使用 fallback 或 load-balance
# use: # 注意此处是「use」
# - DuckDuckGoUS # 这是上面「proxy-providers」的名称
# Fallback 比较实用的策略组类型,用于测试服务器节点的可用性,当第一个节点不可用时切换到第二个,以此类推。
- name: "Fallback"
type: fallback
proxies:
- HK
- US
- SG
- 1
- 2
- 3
url: 'http://www.gstatic.com/generate_204'
interval: 300
@ -229,10 +267,10 @@ proxy-groups:
type: select
proxies:
- Fallback
- HK
- US
- SG
- DuckDuckGo
- 1
- 2
- 3
- DuckDuckGo # 嵌套使用订阅节点策略组
# 白名单模式 PROXY, 黑名单模式 DIRECT, 不知道别动
- name: "MATCH"
@ -246,22 +284,18 @@ proxy-groups:
type: select
proxies:
- PROXY
- HK
- US
- SG
- 1
- 2
- 3
# - US
# 中国流媒体服务(面向海外版本)
# 用于观看部分国内流媒体面向港澳台的地区的限定内容,此处应放港澳台节点,如果没有此需求可删除此处策略组及相关规则
- name: "StreamingSE"
type: select
proxies:
- DIRECT
- HK
# 手动选择节点订阅
- name: "DuckDuckGo"
type: select # 亦可使用 fallback 或 load-balance
use:
- DuckDuckGo-Sub
- 2
# 关于 Rule Provider 请查阅https://lancellc.gitbook.io/clash/clash-config-file/rule-provider

@ -0,0 +1,30 @@
proxies:
- name: "1"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true
- name: "2"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true
- name: "3"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true

@ -0,0 +1,30 @@
proxies:
- name: "US1"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true
- name: "US2"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true
- name: "US3"
type: socks5
server: server
port: 443
# username: username
# password: password
# tls: true
# skip-cert-verify: true
# udp: true

@ -0,0 +1,9 @@
## 使用须知
1. `raw.githubusercontent.com` 已被污染,需自行在系统的 hosts 解决污染问题或使用其他 CDN 域名,在 Clash 配置内无效。
2. 一般来说,只需要配置节点信息即可使用。
自建用户:直接修改预设的 `1`、`2`、`3` 节点信息即可(更多协议配置示例参考官方 [Wiki](https://github.com/Dreamacro/clash/wiki/configuration))。注意!如果修改了节点名,则策略组 `proxy-groups` 部分的名字也需要修改。
订阅用户:参照修改 `proxy-providers` 的订阅配置示例及策略组 `proxy-groups` 部分的引用配置即可。
虽然直接配置好后即可使用,但建议阅读 [Wiki](https://github.com/Dreamacro/clash/wiki/configuration)。

@ -532,7 +532,6 @@ DOMAIN,ads.yahoo.de,REJECT
USER-AGENT,AVOS*,REJECT
DOMAIN,appcloud2.zhihu.com,REJECT
DOMAIN,sugar.zhihu.com,REJECT
IP-CIDR,118.89.204.198/32,REJECT
# > ZOL
DOMAIN,apppv.zol.com.cn,REJECT
DOMAIN,pvnapp.zol.com.cn,REJECT

@ -117,34 +117,32 @@ static=Guard, reject, direct, img-url=https://raw.githubusercontent.com/Koolson/
# 当有强制策略时,远程资源的过滤器中的策略将被忽略,并使用强制策略。
#
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/BlockiOSUpdate.list, tag=⛔Block iOS Update, enabled=false
# Unbreak 后续规则修正
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=🔂Unbreak, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=🔂Unbreak, update-interval=86400, enabled=true
# Advertising 广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=🛡Advertising, force-policy=Guard, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=🛡Advertising, update-interval=86400, force-policy=Guard, enabled=true
# Privacy 隐私
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=🛡Privacy, force-policy=Guard, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=🛡Privacy, update-interval=86400, force-policy=Guard, enabled=false
# Hijacking 运营商劫持或恶意网站
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=🛡Hijacking, force-policy=Guard, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=🛡Hijacking, update-interval=86400, force-policy=Guard, enabled=true
# Streaming 国际流媒体服务
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=🎞Streaming, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=🎞Streaming, update-interval=86400, enabled=true
# StreamingSE 中国流媒体服务(面向海外版本)
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=🎞StreamingSE, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=🎞StreamingSE, update-interval=86400, enabled=true
# Global 全球加速
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=🇺🇳Global, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=🇺🇳Global, update-interval=86400, enabled=true
# China 中国直连
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=🇨🇳China, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=🇨🇳China, update-interval=86400, enabled=true
# 使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.list 时禁用「GEOIP,CN」规则
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=🇨🇳ChinaIP(与「geoip, cn, direct」二选一), enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=🇨🇳ChinaIP(与「geoip, cn, direct」二选一), update-interval=86400, enabled=true
[rewrite_remote]
#
@ -152,22 +150,22 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter
#
# 通用
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, update-interval=86400, enabled=true
# Advertising 广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Advertising.conf, tag=🛡「重写规则」搜「script」缓存脚本, enabled=true
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Advertising.conf, tag=🛡「重写规则」搜「script」缓存脚本, update-interval=86400, enabled=true
# YouTube 广告
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/YouTube.conf, tag=🛡YouTube Premium 禁用, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/YouTube.conf, tag=🛡YouTube Premium 禁用, update-interval=86400, enabled=false
# TikTok
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokJP.conf, tag=🔓TikTokJP(多选一不可共用), enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokKR.conf, tag=🔓TikTokKR(多选一不可共用), enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokTW.conf, tag=🔓TikTokTW(多选一不可共用), enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokUK.conf, tag=🔓TikTokUK(多选一不可共用), enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokJP.conf, tag=🔓TikTokJP(多选一不可共用), update-interval=86400, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokKR.conf, tag=🔓TikTokKR(多选一不可共用), update-interval=86400, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokTW.conf, tag=🔓TikTokTW(多选一不可共用), update-interval=86400, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokUK.conf, tag=🔓TikTokUK(多选一不可共用), update-interval=86400, enabled=false
# Resso
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Resso.conf, tag=🔓Resso, enabled=false
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Resso.conf, tag=🔓Resso, update-interval=86400, enabled=false
[server_local]
#
@ -211,7 +209,7 @@ final, Final
# [task_local] 完整示例请查看「示例」
[http_backend]
# [http_backend]
#
# 部署一个本地 HTTP 服务器,并使用 JavaScript 进行数据处理。
# 输入变量为:$reqeust.url、$reqeust.path、$reqeust.headers、$reqeust.body。

@ -124,7 +124,6 @@ hide-udp=0
🦆DuckDuckGo = select, policy-path=https://duckduckgo.security/user/sub.php?token=DivineEngine
[Rule]
# CUSTOM RULE
# https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/Apple/BlockiOSUpdate.list,⛔Reject
# Client
@ -189,14 +188,12 @@ FINAL,🧭Final,dns-failed
[Host]
mtalk.google.com = 108.177.125.188
# CUSTOM HOST
[Header Rewrite]
# CUSTOM HEADER
# 据粗略统计,有大概三分之二的本项目使用者停留在了 Surge 2、3 时期故而保留了 Rewrite 及 MitM所以如果你解锁了「模块」功能可以使用 sgmodule 后清空 [URL Rewrite] 及 [MITM] 部分MitM 证书重新生成配置。
# 如果你解锁了「模块」功能可以使用 sgmodule 后删除以下 Rewrite 几 MitM 部分
# 建议必选使用 General.sgmodule
# 建议必选使用 General.sgmodule其他 .sgmodule 按需加入
[URL Rewrite]
# Redirect Google Search Service
@ -747,15 +744,10 @@ mtalk.google.com = 108.177.125.188
^(http|https):\/\/webboot\.zhangyue\.com\/zycl\/api\/ad\/ - reject
^(http|https):\/\/saad\.ms\.zhangyue\.net\/ad - reject
# CUSTOM URL
[Script]
# CUSTOM SCRIPT
[SSID Setting]
# CUSTOM SSID
# MitM 主要用于去广告,如不需要 [URL Rewrite] 中的去广告以下皆可删除
[MITM]
skip-server-cert-verify = true
hostname = www.google.cn,api.abema.io,api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,newclient.map.baidu.com,mime.baidu.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,*.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn,mapi.weibo.com,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,app.yinxiang.com,restapi.iyunmai.com,api.zhihu.com,118.89.204.198,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net

@ -1,5 +1,5 @@
#!name=URL Optimization
#!desc=Google 搜索及地图、微博短链接白名单、AbeamTV 区域限制的解锁几一些体验增强
#!desc=通用的 URL 优化,包含 Google 搜索及地图、微博短链接白名单、AbeamTV 区域限制体验增强
[URL Rewrite]
# Redirect Google Search Service

@ -5,7 +5,7 @@
[URL Rewrite]
(?<=_region=)CN(?=&) JP 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=\?version_code=)1[6-9]..(?=.?.?&) 1 307
[MITM]
hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com

@ -5,7 +5,7 @@
[URL Rewrite]
(?<=_region=)CN(?=&) KR 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=\?version_code=)1[6-9]..(?=.?.?&) 1 307
[MITM]
hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com

@ -5,7 +5,7 @@
[URL Rewrite]
(?<=_region=)CN(?=&) TW 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=\?version_code=)1[6-9]..(?=.?.?&) 1 307
[MITM]
hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com

@ -5,7 +5,7 @@
[URL Rewrite]
(?<=_region=)CN(?=&) UK 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 1 307
(?<=\?version_code=)1[6-9]..(?=.?.?&) 1 307
[MITM]
hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com

@ -532,7 +532,6 @@ DOMAIN,ads.yahoo.de
USER-AGENT,AVOS*
DOMAIN,appcloud2.zhihu.com
DOMAIN,sugar.zhihu.com
IP-CIDR,118.89.204.198/32,no-resolve
# > ZOL
DOMAIN,apppv.zol.com.cn
DOMAIN,pvnapp.zol.com.cn
Loading…
Cancel
Save