forked from Tartarus2014/Loon-Script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DaiLiChi.conf
166 lines (127 loc) · 12.5 KB
/
DaiLiChi.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# 2020.11.17 10.00
# Loon全局配置 by Tartarus, 根据 MazeTsz 配置改编。
# 作者GitHub: https://github.com/Tartarus2014
# 脚本库GitHub: https://github.com/Tartarus2014/Loon-Script
# Loon教程链接:https://github.com/chiupam/tutorial/blob/master/Loon/Plus/README.md
# Loon规则GitHub:https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Loon
# 导入配置后,添加订阅,之后更新订阅规则。
# 在「设置」>「通用」>「关于本机」>「证书信任设置」开启对Loon证书的信任。
# 开启并更新脚本和插件。
# 全分组
# 去广告插件, VIP脚本, 签到, cookie,
# 云音乐解锁规则, 节点远程订阅, 默认直连, 可在策略组手动开启。
# =请使用 Safari 浏览器访问网站。首先下载 证书, 进入「设置」>「通用」>「描述文件」, 安装「UnblockNeteaseMusic Root CA」, 并在「设置」>「通用」>「关于本机」>「证书信任设置」开启对「UnblockNeteaseMusic Root CA」的信任。
# =证书链接:https://cdn.jsdelivr.net/gh/nondanee/UnblockNeteaseMusic@master/ca.crt
# 国内媒体策略为解锁B站地区, 默认直连, 切换 媒体解锁 即为解锁模式。
# 增加动画疯分流, 默认走台湾。
# 增加了BOXJS的订阅。
# 策略组
# 节点选项
# select模式,手动选择模式
# url-test模式, 给提供的url发出http header请求, 根据返回结果, 选择测速最快的节点, 默认间隔600s, 测速超时时间5s, 为了避免资源浪费, 建议节点数不要过多, 只支持单个节点和远端节点, 其他会被忽略
# url-test 策略组添加tolerance参数,用于对比切换节点内时的容差,计算方式如下:(前一次测速最优节点耗时 -减去 当前测速最优节点耗时 大于 tolerance时才会进行节点切换,默认100)
# fallback模式, 和url-test类似, 不同的是会根据顺序返回第一个可用的节点, 为了避免资源浪费, 建议节点数不要过多, 只支持单个节点和远端节点, 其他会被忽略
# Load-Balance:负载均衡, 根据选择的负载均衡算法选择子策略, 目前三种算法:
# -Random:随机选择子策略
# -PCC:基于Random, 不同于Random, PCC会让相同主机名的请求锁定同一节点
# -Round-Robin:轮询选择子策略
#
# 由于负载均衡策略, 并不是所有机场都能适用, 所以请自己手动设置负载均衡策略组:
# (PS.请选择同地区节点, 并且遵从各机场的最大IP限制数, 该机场节点选择数量应小于限制数)
# 网易云音乐灰色歌曲,需要节点支持解锁
[General]
ipv6 = false
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
dns-server = system,119.29.29.29
allow-udp-proxy = false
allow-wifi-access = false
wifi-access-http-port = 7222
wifi-access-socket5-port = 7221
proxy-test-url = http://www.gstatic.com/generate_204
test-timeout = 3
[Host]
[Proxy]
# 本地节点
# 内置 DIRECT、REJECT 策略
# 节点名称 = 协议, 服务器地址, 服务器端口, 加密协议, 密码,
# vmess
# 节点名称 = 协议, 服务器地址, 端口, 加密方式, UUID, 传输方式:(tcp/ws),path:websocket握手header中的path, host:websocket握手header中的path, over-tls:是否tls, tls-name:远端w服务器域名, skip-cert-verify:是否跳过证书校验(默认否)
#5 = vmess, 1.2.3.4, 10086, aes-128-gcm,”uuid“,transport:ws,path:/,host:icloud.com,over-tls:true,tls-name:youtTlsServerName.com,skip-cert-verify:false
[Remote Proxy]
代理池 = http://proxypool.turinglabs.net/upload/daily/v2ray
# 订阅节点
# 别名 = 订阅URL
网易解锁 = https://git.io/JfNq3
[Proxy Group]
FINAL = select,节点选择,DIRECT
# 策略组
节点选择 = select,香港节点,狮城节点,美国节点
苹果服务 = select,DIRECT,节点选择
网易音乐 = select,DIRECT,解锁节点
奈飞视频 = select,狮城节点,香港节点,台湾节点,美国节点
油管视频 = select,香港节点,狮城节点,韩国节点,美国节点
巴哈姆特 = select,台湾节点,香港节点
电报消息 = select,香港节点,狮城节点,美国节点
国外媒体 = select,狮城节点,香港节点,台湾节点,韩国节点,美国节点
港台番剧 = select,DIRECT,台湾节点,香港节点
香港节点 = fallback,香港,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
台湾节点 = fallback,台湾,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
狮城节点 = fallback,新加坡,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
日本节点 = fallback,日本,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
美国节点 = fallback,美国,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
韩国节点 = fallback,韩国,url = http://www.qualcomm.cn/generate_204,interval = 600,max-timeout = 30000
解锁节点 = select,网易解锁
# SSID
# 别名 = ssid, 默认 = 策略, 蜂窝 = 策略, ssid名称 = 策略
#SSID = ssid, default = PROXY, cellular = DIRECT, ”DivineEngine“ = PROXY
[Remote Filter]
# 筛选订阅节点, 筛选后的结果可加入到策略组中, 目前支持三种筛选方式
# NodeSelect: 使用在UI上选择的节点。
# NameKeyword: 根据提供的关键词对订阅中所有节点的名称进行筛选, 使用筛选后的节点。
# NameRegex: 根据提供的正则表达式对订阅中所有节点的名称进行筛选, 使用筛选后的节点。
香港 = NameRegex, FilterKey = "(?i)(港|HK|Hong)"
台湾 = NameRegex, FilterKey = "(?i)(台|TW|Tai)"
日本 = NameRegex, FilterKey = "(?i)(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Japan)"
韩国 = NameRegex, FilterKey = "(?i)(KR|Korea|KOR|首尔|韩|韓)"
美国 = NameRegex, FilterKey = "(?i)(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)"
新加坡 = NameRegex, FilterKey = "(?i)(新加坡|坡|狮城|SG|Singapore)"
网易解锁 = NameRegex, FilterKey = "(?i)(unblock|music|Music|云音乐|🎧)"
[Remote Rule]
https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Reject.list, policy=REJECT, tag=去广告, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/TestFlight/TestFlight.list, policy=节点选择, tag=TestFlight, enabled=true
https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Apple.list, policy=苹果服务, tag=苹果服务, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/YouTube/YouTube.list, policy=油管视频, tag=油管视频, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/Netflix/Netflix.list, policy=奈飞视频, tag=奈飞视频, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/Bahamut/Bahamut.list, policy=巴哈姆特, tag=巴哈姆特, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/GlobalMedia/GlobalMedia.list, policy=节点选择, tag=国外媒体, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/Bilibili/Bilibili.list, policy=港台番剧, tag=国内媒体, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/Telegram/Telegram.list, policy=电报消息, tag=电报消息, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Proxy/Domain.list, policy=节点选择, tag=全球规则, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Loon/China/China.list, policy=DIRECT, tag=全球直连, enabled=true
[Rule]
DOMAIN,rsshub.app,节点选择
GEOIP,CN,DIRECT
FINAL,FINAL
[URL Rewrite]
enable = true
[Remote Rewrite]
[Script]
enable = true
[Remote Script]
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Cookie.conf, tag=Cookie.获取完一定要关闭, enabled=false
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Task.conf, tag=Task, enabled=false
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Script.conf, tag=Script, enabled=true
[Plugin]
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Host.plugin, tag=Host, enabled=false
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin, proxy=REJECT, tag=Advertising, enabled=false
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/General.plugin, tag=General, enabled=false
https://gitee.com/chavyleung/scripts/raw/master/box/rewrite/boxjs.rewrite.loon.tf.plugin, tag=Boxjs, enabled=false
https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/config/Loon.plugin, tag=订阅解析器, enabled=false
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Netease%20Music.plugin, proxy=网易音乐, tag=网易音乐, enabled=false
[MITM]
enable = true
skip-server-cert-verify = true
ca-passphrase = UNCLEWANG
ca-p12 = MIIJ4QIBAzCCCacGCSqGSIb3DQEHAaCCCZgEggmUMIIJkDCCBEcGCSqGSIb3DQEHBqCCBDgwggQ0AgEAMIIELQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIIID8XedewzgCAggAgIIEANnWZ5t2guVFaifs0lzFt9/vD4NhiDeDTn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