mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-19 13:41:18 +08:00
211 lines
16 KiB
Plaintext
211 lines
16 KiB
Plaintext
# Loon自用配置
|
||
# 注意事项: 以下内容中,带“#”开头的行都是注释,去掉注释符号该行才有效
|
||
# 重要提示:导入本文件会覆盖原本配置,请谨慎使用
|
||
# 文件地址:https://raw.githubusercontent.com/fmz200/wool_scripts/main/Loon/config/Loon.conf
|
||
# 交流群组:https://t.me/lanjieguanggao
|
||
# 更新时间: 2024-10-27 13:00:00
|
||
# 配置作者: fmz200
|
||
|
||
# =====================================
|
||
# General
|
||
# =====================================
|
||
[General]
|
||
ip-mode = ipv4-only
|
||
disable-stun = false
|
||
dns-reject-mode = LoopbackIP
|
||
domain-reject-mode = DNS
|
||
udp-fallback-mode = REJECT
|
||
sni-sniffing = true
|
||
disconnect-on-policy-change = false
|
||
switch-node-after-failure-times = 3
|
||
# > 跳过某个域名或者IP段
|
||
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.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
|
||
# > DNS 服务器
|
||
dns-server = system
|
||
interface-mode = auto
|
||
# Wi-Fi 访问
|
||
# > 允许 Wi-Fi 网络下其它设备访问
|
||
#allow-udp-proxy = false
|
||
allow-wifi-access = false
|
||
wifi-access-http-port = 7222
|
||
wifi-access-socks5-port = 7221
|
||
# > 代理测速 URL
|
||
proxy-test-url = http://www.google.com/generate_204
|
||
internet-test-url = http://connectivitycheck.platform.hicloud.com/generate_204
|
||
# > 测速超时 (s)
|
||
test-timeout = 5
|
||
# > 解决一些ip请求无法匹配域名类规则的问题。real-ip指定的域名将不返回fake ip响应,直接将dns请求发往目标dns服务器
|
||
#real-ip = msftconnecttest.com,msftncsi.com,*.msftconnecttest.com,*.msftncsi.com,*.srv.nintendo.net,*.stun.playstation.net,xbox.*.microsoft.com,*.xboxlive.com,*.battlenet.com.cn,*.battlenet.com,*.blzstatic.cn,*.battle.net
|
||
# 解析器
|
||
resource-parser = https://gitlab.com/sub-store/Sub-Store/-/releases/permalink/latest/downloads/sub-store-parser.loon.min.js
|
||
# geoip
|
||
geoip-url = https://github.com/Masaiki/GeoIP2-CN/raw/release/Country.mmdb
|
||
# ssid-trigger参数,用于指定SSID下流量模式切换,(default表示默认,cellular表示蜂窝,目前支持三种值:rule,direct,proxy)
|
||
# ssid-trigger="default":rule,"cellular":rule,"ASUS":direct,"TPLINK":proxy
|
||
ipasn-url = https://raw.githubusercontent.com/P3TERX/GeoLite.mmdb/download/GeoLite2-ASN.mmdb
|
||
|
||
|
||
# =====================================
|
||
# Host
|
||
# =====================================
|
||
[Host]
|
||
|
||
|
||
# =====================================
|
||
# Proxy 本地的代理节点
|
||
# =====================================
|
||
[Proxy]
|
||
|
||
|
||
# =====================================
|
||
# Remote Proxy 订阅链接
|
||
# =====================================
|
||
[Remote Proxy]
|
||
|
||
|
||
# =====================================
|
||
# Proxy Group
|
||
# =====================================
|
||
[Proxy Group]
|
||
大陆网址 = select,DIRECT,香港节点,澳门节点,台湾节点,美国节点,日本节点,韩国节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/lige47/taiwan(1).png
|
||
代理节点 = select,香港节点,狮城节点,美国节点,台湾节点,韩国节点,日本节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/Twoandz9/Xray.png
|
||
兜底策略 = select,DIRECT,香港节点,澳门节点,台湾节点,狮城节点,美国节点,日本节点,韩国节点,英国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Loon_02.png
|
||
电报消息 = select,代理节点,香港节点,狮城节点,美国节点,日本节点,英国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png
|
||
微信消息 = select,DIRECT,香港节点,台湾节点,狮城节点,美国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/wechat.png
|
||
微博服务 = select,DIRECT,香港节点,台湾节点,美国节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Weibo.png
|
||
海外抖音 = select,香港节点,台湾节点,狮城节点,韩国节点,美国节点,日本节点,英国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/TikTok_1.png
|
||
大陆抖音 = select,香港节点,澳门节点,台湾节点,美国节点,日本节点,韩国节点,狮城节点,英国节点,其他节点,DIRECT,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/TikTok_2.png
|
||
人工智能 = select,美国节点,日本节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/OpenAI.png
|
||
苹果服务 = select,DIRECT,代理节点,香港节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/lige47/apple(1).png
|
||
微软服务 = select,DIRECT,香港节点,美国节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Orz-3/mini/master/Color/Microsoft.png
|
||
谷歌服务 = select,代理节点,香港节点,狮城节点,美国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Orz-3/mini/master/Color/Google.png
|
||
油管视频 = select,代理节点,香港节点,美国节点,日本节点,韩国节点,狮城节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png
|
||
国外媒体 = select,代理节点,狮城节点,香港节点,台湾节点,韩国节点,美国节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Streaming.png
|
||
港台番剧 = select,DIRECT,台湾节点,香港节点,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/StreamingSE.png
|
||
# 节点筛选
|
||
香港节点 = url-test,HK_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png
|
||
澳门节点 = url-test,MO_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://gitlab.com/lodepuly/iconlibrary/-/raw/main/Flag_icon/120px/MO.png
|
||
台湾节点 = url-test,TW_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png
|
||
美国节点 = url-test,US_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png
|
||
日本节点 = url-test,JP_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png
|
||
韩国节点 = url-test,KR_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Korea.png
|
||
狮城节点 = url-test,SG_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png
|
||
英国节点 = url-test,UK_Filter,url = http://cp.cloudflare.com/generate_204,interval = 60,tolerance = 50,img-url = https://gitlab.com/lodepuly/iconlibrary/-/raw/main/Flag_icon/120px/AU.png
|
||
其他节点 = select,OT_Filter,url = http://www.google.com/generate_204,img-url = https://gitlab.com/lodepuly/iconlibrary/-/raw/main/Flag_icon/120px/WW.png
|
||
|
||
|
||
# =====================================
|
||
# Remote Filter
|
||
# (?i):表示后面整个括号内的表达式不区分大小写
|
||
# =====================================
|
||
[Remote Filter]
|
||
OT_Filter = NameRegex, FilterKey = "^(?!.*(?:US|TW|JP|SG|美|韩|日本|新|港|澳|台|英|🇬🇧|🇺🇸|🇲🇴|🇸🇬|🇯🇵|🇭🇰|🇰🇷)).*$"
|
||
HK_Filter = NameRegex, FilterKey = "(?i)(🇭🇰|港|HK)"
|
||
MO_Filter = NameRegex, FilterKey = "(?i)(🇲🇴|澳门|MO)"
|
||
TW_Filter = NameRegex, FilterKey = "(?i)(台|TW|Tai)"
|
||
US_Filter = NameRegex, FilterKey = "(?i)(🇺🇸|美|US)"
|
||
JP_Filter = NameRegex, FilterKey = "(?i)(🇯🇵|日本|JP|Japan)"
|
||
KR_Filter = NameRegex, FilterKey = "(?i)(🇰🇷|KR|Korea|KOR|首尔|韩|韓)"
|
||
SG_Filter = NameRegex, FilterKey = "(?i)(🇸🇬|新加坡|狮城|SG|Singapore)"
|
||
UK_Filter = NameRegex, FilterKey = "(?i)(🇬🇧|英国)"
|
||
|
||
|
||
# =====================================
|
||
# Rule
|
||
# Options:no-resolve(only for cidr)
|
||
# =====================================
|
||
[Rule]
|
||
# 信息收集
|
||
URL-REGEX,\.log\.,REJECT
|
||
# 海角社区
|
||
DOMAIN-KEYWORD,haijiao,美国节点
|
||
# 兜底策略
|
||
FINAL,兜底策略
|
||
|
||
|
||
# =====================================
|
||
# Remote Rule
|
||
# =====================================
|
||
[Remote Rule]
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/rejectAd.list, policy=REJECT, tag=广告拦截合集-规则@奶思, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/apple_update.list, policy=REJECT, tag=苹果屏蔽系统更新@奶思, enabled=false
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/AI.list, policy=人工智能, tag=AI分流合集@奶思, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/XiaoHongShu/XiaoHongShu.list, policy=狮城节点, tag=小红书@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/WeChat/WeChat.list, policy=微信消息, tag=WeChat@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Weibo/Weibo.list, policy=微博服务, tag=Weibo@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/DouYin/DouYin.list, policy=大陆抖音, tag=DouYin@bm7, enabled=false
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/ByteDance/ByteDance.list, policy=大陆抖音, tag=字节跳动@bm7, enabled=false
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/TikTok/TikTok.list, policy=海外抖音, tag=TikTok@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/BiliBili/BiliBili.list, policy=港台番剧, tag=哔哩哔哩@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Telegram/Telegram.list, policy=电报消息, tag=Telegram@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/GitHub/GitHub.list, policy=香港节点, tag=Github@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Microsoft/Microsoft.list, policy=微软服务, tag=Microsoft@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Spotify/Spotify.list, policy=狮城节点, tag=Spotify@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Twitter/Twitter.list, policy=美国节点, tag=Twitter@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/TestFlight/TestFlight.list, policy=苹果服务, tag=TestFlight@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Apple/Apple.list, policy=苹果服务, tag=苹果服务@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Apple/Apple_Domain.list, policy=苹果服务, tag=苹果服务@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Facebook/Facebook.list, policy=香港节点, tag=Facebook@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Instagram/Instagram.list, policy=香港节点, tag=Instagram@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/YouTubeMusic/YouTubeMusic.list, policy=美国节点, tag=YouTube Music@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/YouTube/YouTube.list, policy=油管视频, tag=YouTube@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/GoogleVoice/GoogleVoice.list, policy=美国节点, tag=Google Voice@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Google/Google.list, policy=谷歌服务, tag=Google@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Disney/Disney.list, policy=香港节点, tag=Disney@bm7, enabled=true
|
||
https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Loon/Line/Line.list, policy=香港节点, tag=Line@bm7, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Soul.list, policy=台湾节点, tag=Soul分流@奶思, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Talkatone.list, policy=美国节点, tag=Talkatone分流, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/OKX.list, policy=狮城节点, tag=欧易分流@奶思, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Binance.list, policy=狮城节点, tag=币安分流@奶思, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/LAN.list, policy=DIRECT, tag=LAN@奶思, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/GeoIP_CN.list, policy=大陆网址, tag=GeoIP_CN@奶思, enabled=true
|
||
|
||
|
||
|
||
# =====================================
|
||
# Rewrite
|
||
# =====================================
|
||
[Rewrite]
|
||
|
||
|
||
# =====================================
|
||
# Script
|
||
# =====================================
|
||
[Script]
|
||
|
||
|
||
# =====================================
|
||
# Remote Script
|
||
# =====================================
|
||
[Remote Script]
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/script/tasks.scripts, tag=定时任务合集@fmz200, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/script/tools.scripts, tag=脚本工具合集@fmz200, enabled=true
|
||
|
||
|
||
# =====================================
|
||
# 插件
|
||
# =====================================
|
||
[Plugin]
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/cookies.plugin, enabled=false
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/weibo.plugin, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/blockAds.plugin, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/WexinMiniPrograms_Remove_ads.plugin, enabled=true
|
||
https://raw.githubusercontent.com/app2smile/rules/master/plugin/spotify.plugin, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/spotify.png, enabled=true
|
||
https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/Auto_Join_TF.plugin, policy=代理节点, enabled=false
|
||
https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/skip-proxy.plugin, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/Imm.png, enabled=true
|
||
https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/plugin/HTTPDNS.Block.plugin, enabled=true
|
||
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.loon.plugin, policy=代理节点, enabled=true
|
||
https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Loon.plugin, policy=代理节点, enabled=true
|
||
https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/modules/script-hub.loon.plugin, policy=代理节点, enabled=true
|
||
|
||
|
||
# =====================================
|
||
# Mitm
|
||
# =====================================
|
||
[Mitm]
|
||
hostname =
|
||
ca-p12 =
|
||
ca-passphrase =
|
||
skip-server-cert-verify = false
|