#Lucky 自用Loon配置 [General] # 解析器 resource-parser = https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/dist/sub-store-parser.loon.min.js #代理测速 proxy-test-url = http://www.gstatic.com/generate_204 #测速超时 (s) test-timeout = 5 # IPv6 支持 ipv6 = false # GeoIP 数据库 geoip-url = https://github.com/Masaiki/GeoIP2-CN/raw/release/Country.mmdb # DNS dns-server = system,119.29.29.29,223.5.5.5,162.159.195.1 # DoH doh-server = https://dns.alidns.com/dns-query,https://doh.pub/dns-query # 跳过代理 skip-proxy = 127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,100.64.0.0/10,17.0.0.0/8,*.local,*.crashlytics.com,seed-sequoia.siri.apple.com,localhost,sequoia.apple.com,www.abchina.com.cn # 旁路隧道 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,239.255.255.250/32,255.255.255.255/32 # 允许 Wi-Fi 访问 allow-udp-proxy = true allow-wifi-access = false wifi-access-http-port = 5208 wifi-access-socks5-port = 5206 # 将dns请求发往目标dns服务器 real-ip = msftconnecttest.com, msftncsi.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, *.apple.com, *apple.com, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net # 接口模式 interface-mode = auto # 失败后切换节点次数 switch-node-after-failure-times = 3 # 策略切换时关闭链接 disconnect-on-policy-change = true # udp端口禁用 disable-stun = true disable-udp-ports = 443 # ssid-trigger参数,用于指定SSID下流量模式切换,(default表示默认,cellular表示蜂窝,目前支持三种值:rule,direct,proxy) # ssid-trigger = "default":rule, "cellular":rule,"ASUS_5G":direct [Host] [Proxy] Lucky = wireguard,interface-ip=172.16.0.2,interface-ipv6=2606:4700:110:832c:b21b:4f99:f9fa:417b,private-key="2JkWiH65BRnIZTr5y4i4XVPkYnWZ9Vr18FkpWEc7aEQ=",mtu=1280,dns=162.159.36.1,dnsv6=2606:4700:4700::1111,keepalive=45,peers=[{public-key="bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",allowed-ips="0.0.0.0/0,::/0",endpoint=162.159.195.0:7103:2408,reserved=[195,10,198]}] [Remote Proxy] 网易解锁 = https://gist.githubusercontent.com/As-Lucky/13292a5f2f36105951d4e19983f35a1d/raw/ad99f7dab6f23005366dc1a56bc51075bc131521/Wyy,parser-enabled = true,udp=true,fast-open=true,vmess-aead=true,enabled=true [Proxy Group] # 自行选择 网速超快 = select,DIRECT,所有节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Available_1.png 苹果服务 = select,DIRECT,网速超快,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_1.png 网易音乐 = select,网易云解锁,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netease_Music.png 奈飞视频 = select,网速超快,新加坡节点,香港节点,台湾节点,美国节点,韩国节点,日本节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png 油管视频 = select,网速超快,香港节点,新加坡节点,韩国节点,美国节点,台湾节点,日本节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png 巴哈姆特 = select,网速超快,台湾节点,香港节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Bahamut.png 电报消息 = select,网速超快,香港节点,新加坡节点,美国节点,台湾节点,韩国节点,日本节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png 国外媒体 = select,网速超快,新加坡节点,香港节点,台湾节点,韩国节点,美国节点,日本节点,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Infuse.png 港台番剧 = select,香港节点,台湾节点,DIRECT,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/WeTV_Letter.png 网易云解锁 = select,网易解锁,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netease_Music_Unlock.png 法外狂徒 = select,网速超快,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Alibaba.png 香港节点 = select,香港,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png 台湾节点 = select,台湾,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png 新加坡节点 = select,新加坡,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png 韩国节点 = select,韩国,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Korea.png 日本节点 = select,日本,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png 美国节点 = select,美国,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png [Remote Filter] 所有节点 = NameRegex, FilterKey = "^" 香港 = 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/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list, policy=REJECT, tag=去广告, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/TestFlight/TestFlight.list, policy=网速超快, tag=TestFlight, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Apple/Apple.list, policy=苹果服务, tag=苹果服务, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/NetEaseMusic/NetEaseMusic.list, policy=网易音乐, tag=网易音乐, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/YouTube/YouTube.list, policy=油管视频, tag=油管视频, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Netflix/Netflix.list, policy=奈飞视频, tag=奈飞视频, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Bahamut/Bahamut.list, policy=巴哈姆特, tag=巴哈姆特, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/GlobalMedia/GlobalMedia.list, policy=网速超快, tag=国外媒体, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/BiliBili/BiliBili.list, policy=港台番剧, tag=国内媒体, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Telegram/Telegram.list, policy=电报消息, tag=电报消息, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Proxy/Proxy.list, policy=网速超快, tag=全球规则, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Proxy/Proxy_Domain.list, policy=网速超快, tag=全球规则, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/China/China.list, policy=DIRECT, tag=全球直连, enabled=true [Rule] GEOIP,CN,DIRECT FINAL,法外狂徒 [Rewrite] enable = false # 京东比价Fix ^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start reject-200 [Remote Rewrite] [Script] enable = false [Remote Script] https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Fake_Vip.conf, tag=Fake-VIP, enabled=true 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=false https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/JD.conf, tag=JD, enabled=false [Plugin] https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/LoonGallery.plugin, policy=网速超快, tag=插件仓库, enabled=true # 哔哩去广告 https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/Bilibili_remove_ads.plugin, tag=哔哩去广告, enabled=true # 油管去广告 https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/YouTube_remove_ads.plugin, tag=油管去广告, enabled=true # 微博去广告 https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/Weibo_remove_ads.plugin, tag=微博去广告, enabled=true # 高德去广告 https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/Amap_remove_ads.plugin, tag=高德去广告, enabled=true # 知乎去广告 https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Plugin/Zhihu_remove_ads.plugin, tag=知乎去广告, enabled=true https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/MediaCheck.plugin, tag=Node Detection Tool, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Loon/Advertising/Advertising.plugin, tag=Advertising, enabled=true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Loon/Redirect/Redirect.plugin, tag=General, enabled=true https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/TF-Download.plugin, tag=TF-Download, enabled=true https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.loon.plugin, policy=网速超快, enabled=true https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/config/Loon.plugin, policy=网速超快, tag=订阅解析器, enabled=true [MITM] enable = false skip-server-cert-verify = true