mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2024-12-22 16:07:27 +08:00
提交
This commit is contained in:
commit
2da776f6e4
3
.env
Normal file
3
.env
Normal file
@ -0,0 +1,3 @@
|
||||
# Clash 订阅地址
|
||||
export CLASH_URL='更改为你的clash订阅地址'
|
||||
export CLASH_SECRET=''
|
171
README.md
Normal file
171
README.md
Normal file
@ -0,0 +1,171 @@
|
||||
[TOC]
|
||||
|
||||
# 项目介绍
|
||||
|
||||
此项目是通过使用开源项目[clash](https://github.com/Dreamacro/clash)作为核心程序,再结合脚本实现简单的代理功能。
|
||||
|
||||
主要是为了解决我们在服务器上下载GitHub等一些国外资源速度慢的问题。
|
||||
|
||||
<br>
|
||||
|
||||
# 使用须知
|
||||
|
||||
- 运行本项目建议使用root用户,或者使用 sudo 提权。
|
||||
- 使用过程中如遇到问题,请优先查已有的 [issues](https://github.com/wanhebin/clash-for-linux/issues)。
|
||||
- 在进行issues提交前,请替换提交内容中是敏感信息(例如:订阅地址)。
|
||||
- 本项目是基于 [clash](https://github.com/Dreamacro/clash) 、[yacd](https://github.com/haishanh/yacd) 进行的配置整合,关于clash、yacd的详细配置请去原项目查看。
|
||||
- 此项目不提供任何订阅信息,请自行准备Clash订阅地址。
|
||||
- 运行前请手动更改`.env`文件中的`CLASH_URL`变量值,否则无法正常运行。
|
||||
- 当前在RHEL系列和Debian系列Linux系统中测试过,其他系列可能需要适当修改脚本。
|
||||
- 支持 x86_64/aarch64 平台
|
||||
|
||||
> **注意**:当你在使用此项目时,遇到任何无法独自解决的问题请优先前往 [Issues](https://github.com/wanhebin/clash-for-linux/issues) 寻找解决方法。由于空闲时间有限,后续将不再对Issues中 “已经解答”、“已有解决方案” 的问题进行重复性的回答。
|
||||
|
||||
<br>
|
||||
|
||||
# 使用教程
|
||||
|
||||
## 下载项目
|
||||
|
||||
下载项目
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/wanhebin/clash-for-linux.git
|
||||
```
|
||||
|
||||
进入到项目目录,编辑`.env`文件,修改变量`CLASH_URL`的值。
|
||||
|
||||
```bash
|
||||
$ cd clash-for-linux
|
||||
$ vim .env
|
||||
```
|
||||
|
||||
> **注意:** `.env` 文件中的变量 `CLASH_SECRET` 为自定义 Clash Secret,值为空时,脚本将自动生成随机字符串。
|
||||
|
||||
<br>
|
||||
|
||||
## 启动程序
|
||||
|
||||
直接运行脚本文件`start.sh`
|
||||
|
||||
- 进入项目目录
|
||||
|
||||
```bash
|
||||
$ cd clash-for-linux
|
||||
```
|
||||
|
||||
- 运行启动脚本
|
||||
|
||||
```bash
|
||||
$ sudo bash start.sh
|
||||
|
||||
正在检测订阅地址...
|
||||
Clash订阅地址可访问! [ OK ]
|
||||
|
||||
正在下载Clash配置文件...
|
||||
配置文件config.yaml下载成功! [ OK ]
|
||||
|
||||
正在启动Clash服务...
|
||||
服务启动成功! [ OK ]
|
||||
|
||||
Clash Dashboard 访问地址:http://<ip>:9090/ui
|
||||
Secret:xxxxxxxxxxxxx
|
||||
|
||||
请执行以下命令加载环境变量: source /etc/profile.d/clash.sh
|
||||
|
||||
请执行以下命令开启系统代理: proxy_on
|
||||
|
||||
若要临时关闭系统代理,请执行: proxy_off
|
||||
|
||||
```
|
||||
|
||||
```bash
|
||||
$ source /etc/profile.d/clash.sh
|
||||
$ proxy_on
|
||||
```
|
||||
|
||||
- 检查服务端口
|
||||
|
||||
```bash
|
||||
$ netstat -tln | grep -E '9090|789.'
|
||||
tcp 0 0 127.0.0.1:9090 0.0.0.0:* LISTEN
|
||||
tcp6 0 0 :::7890 :::* LISTEN
|
||||
tcp6 0 0 :::7891 :::* LISTEN
|
||||
tcp6 0 0 :::7892 :::* LISTEN
|
||||
```
|
||||
|
||||
- 检查环境变量
|
||||
|
||||
```bash
|
||||
$ env | grep -E 'http_proxy|https_proxy'
|
||||
http_proxy=http://127.0.0.1:7890
|
||||
https_proxy=http://127.0.0.1:7890
|
||||
```
|
||||
|
||||
以上步鄹如果正常,说明服务clash程序启动成功,现在就可以体验高速下载github资源了。
|
||||
|
||||
<br>
|
||||
|
||||
## 重启程序
|
||||
|
||||
如果需要对Clash配置进行修改,请修改 `conf/config.yaml` 文件。然后运行 `restart.sh` 脚本进行重启。
|
||||
|
||||
> **注意:**
|
||||
> 重启脚本 `restart.sh` 不会更新订阅信息。
|
||||
|
||||
<br>
|
||||
|
||||
## 停止程序
|
||||
|
||||
- 进入项目目录
|
||||
|
||||
```bash
|
||||
$ cd clash-for-linux
|
||||
```
|
||||
|
||||
- 关闭服务
|
||||
|
||||
```bash
|
||||
$ sudo bash shutdown.sh
|
||||
|
||||
服务关闭成功,请执行以下命令关闭系统代理:proxy_off
|
||||
|
||||
```
|
||||
|
||||
```bash
|
||||
$ proxy_off
|
||||
```
|
||||
|
||||
然后检查程序端口、进程以及环境变量`http_proxy|https_proxy`,若都没则说明服务正常关闭。
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
## Clash Dashboard
|
||||
|
||||
- 访问 Clash Dashboard
|
||||
|
||||
通过浏览器访问 `start.sh` 执行成功后输出的地址,例如:http://192.168.0.1:9090/ui
|
||||
|
||||
- 登录管理界面
|
||||
|
||||
在`API Base URL`一栏中输入:http://\<ip\>:9090 ,在`Secret(optional)`一栏中输入启动成功后输出的Secret。
|
||||
|
||||
点击Add并选择刚刚输入的管理界面地址,之后便可在浏览器上进行一些配置。
|
||||
|
||||
- 更多教程
|
||||
|
||||
此 Clash Dashboard 使用的是[yacd](https://github.com/haishanh/yacd)项目,详细使用方法请移步到yacd上查询。
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
# 常见问题
|
||||
|
||||
1. 部分Linux系统默认的 shell `/bin/sh` 被更改为 `dash`,运行脚本会出现报错(报错内容一般会有 `-en [ OK ]`)。建议使用 `bash xxx.sh` 运行脚本。
|
||||
|
||||
2. 部分用户在UI界面找不到代理节点,基本上是因为厂商提供的clash配置文件是经过base64编码的,且配置文件格式不符合clash配置标准。
|
||||
|
||||
目前此项目已集成自动识别和转换clash配置文件的功能。如果依然无法使用,则需要通过自建或者第三方平台(不推荐,有泄露风险)对订阅地址转换。
|
||||
|
||||
3. 程序日志中出现`error: unsupported rule type RULE-SET`报错,解决方法查看官方[WIKI](https://github.com/Dreamacro/clash/wiki/FAQ#error-unsupported-rule-type-rule-set)
|
BIN
bin/clash-linux-amd64
Normal file
BIN
bin/clash-linux-amd64
Normal file
Binary file not shown.
BIN
bin/clash-linux-arm64
Normal file
BIN
bin/clash-linux-arm64
Normal file
Binary file not shown.
BIN
bin/clash-linux-armv7
Normal file
BIN
bin/clash-linux-armv7
Normal file
Binary file not shown.
BIN
conf/Country.mmdb
Normal file
BIN
conf/Country.mmdb
Normal file
Binary file not shown.
0
conf/config.yaml
Normal file
0
conf/config.yaml
Normal file
1
dashboard/public/CNAME
Normal file
1
dashboard/public/CNAME
Normal file
@ -0,0 +1 @@
|
||||
yacd.haishan.me
|
12
dashboard/public/_headers
Normal file
12
dashboard/public/_headers
Normal file
@ -0,0 +1,12 @@
|
||||
# for netlify hosting
|
||||
# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file
|
||||
|
||||
/*
|
||||
X-Frame-Options: DENY
|
||||
X-XSS-Protection: 1; mode=block
|
||||
X-Content-Type-Options: nosniff
|
||||
Referrer-Policy: same-origin
|
||||
/*.css
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
/*.js
|
||||
Cache-Control: public, max-age=31536000, immutable
|
BIN
dashboard/public/apple-touch-icon-precomposed.png
Normal file
BIN
dashboard/public/apple-touch-icon-precomposed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
1
dashboard/public/assets/Config.39d8d2ef.css
Normal file
1
dashboard/public/assets/Config.39d8d2ef.css
Normal file
@ -0,0 +1 @@
|
||||
._root_v2s4h_1,._section_v2s4h_2{display:grid;grid-template-columns:repeat(auto-fill,minmax(345px,1fr));max-width:900px;gap:5px}@media screen and (min-width: 30em){._root_v2s4h_1,._section_v2s4h_2{gap:15px}}._root_v2s4h_1,._section_v2s4h_2{padding:6px 15px 10px}@media screen and (min-width: 30em){._root_v2s4h_1,._section_v2s4h_2{padding:10px 40px 15px}}._wrapSwitch_v2s4h_26{height:40px;display:flex;align-items:center}._sep_v2s4h_32{max-width:900px;padding:0 15px}@media screen and (min-width: 30em){._sep_v2s4h_32{padding:0 40px}}._sep_v2s4h_32>div{border-top:1px dashed #373737}._label_v2s4h_45{padding:11px 0}._fieldset_1ghjp_1{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap}._input_1ghjp_9+._cnt_1ghjp_9{border:1px solid transparent;border-radius:8px;cursor:pointer;margin-right:5px;margin-bottom:5px}._input_1ghjp_9:focus+._cnt_1ghjp_9{border-color:#387cec}._input_1ghjp_9:checked+._cnt_1ghjp_9{border-color:#387cec}
|
1
dashboard/public/assets/Config.c09e8dbe.js
Normal file
1
dashboard/public/assets/Config.c09e8dbe.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/Connections.e48eac36.js
Normal file
1
dashboard/public/assets/Connections.e48eac36.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/Connections.fb8ea59b.css
Normal file
1
dashboard/public/assets/Connections.fb8ea59b.css
Normal file
@ -0,0 +1 @@
|
||||
.react-tabs{-webkit-tap-highlight-color:transparent}.react-tabs__tab-list{margin:0 0 10px;padding:0 30px}.react-tabs__tab{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:5px;bottom:-1px;position:relative;list-style:none;padding:6px 10px;cursor:pointer;font-size:1.2em;opacity:.5}.react-tabs__tab--selected{opacity:1}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{border-color:#0188fe;outline:none}.react-tabs__tab:focus:after{content:"";position:absolute}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}._placeHolder_12xws_1{height:100%;display:flex;align-items:center;justify-content:center;color:var(--color-background);opacity:.1}._connQty_12xws_10{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._inputWrapper_12xws_22{margin:0 30px;width:100%;max-width:350px;justify-self:flex-end}._input_12xws_22{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:18px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:36px;outline:none;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._tr_daq0k_1{display:grid;grid-template-columns:repeat(var(--col-count, 11),minmax(-webkit-max-content,auto));grid-template-columns:repeat(var(--col-count, 11),minmax(max-content,auto))}._th_daq0k_6{padding:8px 10px;height:50px;background:var(--color-background);position:-webkit-sticky;position:sticky;top:0;font-size:.8em;text-align:center;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between}._th_daq0k_6:hover{color:var(--color-text-highlight)}._td_daq0k_23{padding:8px 13px;font-size:.9em;font-family:var(--font-normal)}._td_daq0k_23._odd_daq0k_29{background:var(--color-row-odd)}._du_daq0k_34{text-align:right}._sortIconContainer_daq0k_38{display:inline-flex;margin-left:10px;width:16px;height:16px}._rotate180_daq0k_45{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._overlay_148w6_1{background-color:#0009}._cnt_148w6_5{background-color:var(--bg-modal);color:var(--color-text);max-width:300px;line-height:1.4;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);opacity:.6;transition:all .3s ease}._afterOpen_148w6_15{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._btngrp_148w6_20{display:flex;align-items:center;justify-content:center;margin-top:30px}
|
1
dashboard/public/assets/Fab.a0a7e573.css
Normal file
1
dashboard/public/assets/Fab.a0a7e573.css
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/Fab.ef67ff10.js
Normal file
1
dashboard/public/assets/Fab.ef67ff10.js
Normal file
@ -0,0 +1 @@
|
||||
import{j as e,b,i as y,r as l}from"./index.171f553a.js";const F="_spining_4i8sg_1",M="_spining_keyframes_4i8sg_1",j={spining:F,spining_keyframes:M},{useState:v}=y;function B({children:s}){return e("span",{className:j.spining,children:s})}const H={right:10,bottom:10},L=({children:s,...n})=>e("button",{type:"button",...n,className:"rtf--ab",children:s}),E=({children:s,...n})=>e("button",{type:"button",className:"rtf--mb",...n,children:s}),O={bottom:24,right:24},R=({event:s="hover",style:n=O,alwaysShowTitle:o=!1,children:f,icon:g,mainButtonStyles:h,onClick:p,text:d,..._})=>{const[a,r]=v(!1),c=o||!a,u=()=>r(!0),m=()=>r(!1),x=()=>s==="hover"&&u(),k=()=>s==="hover"&&m(),N=t=>p?p(t):(t.persist(),s==="click"?a?m():u():null),$=(t,i)=>{t.persist(),r(!1),setTimeout(()=>{i(t)},1)},C=()=>l.exports.Children.map(f,(t,i)=>l.exports.isValidElement(t)?b("li",{className:`rtf--ab__c ${"top"in n?"top":""}`,children:[l.exports.cloneElement(t,{"data-testid":`action-button-${i}`,"aria-label":t.props.text||`Menu button ${i+1}`,"aria-hidden":c,tabIndex:a?0:-1,...t.props,onClick:I=>{t.props.onClick&&$(I,t.props.onClick)}}),t.props.text&&e("span",{className:`${"right"in n?"right":""} ${o?"always-show":""}`,"aria-hidden":c,children:t.props.text})]}):null);return e("ul",{onMouseEnter:x,onMouseLeave:k,className:`rtf ${a?"open":"closed"}`,"data-testid":"fab",style:n,..._,children:b("li",{className:"rtf--mb__c",children:[e(E,{onClick:N,style:h,"data-testid":"main-button",role:"button","aria-label":"Floating menu",tabIndex:0,children:g}),d&&e("span",{className:`${"right"in n?"right":""} ${o?"always-show":""}`,"aria-hidden":c,children:d}),e("ul",{children:C()})]})})};export{L as A,R as F,B as I,H as p};
|
1
dashboard/public/assets/Logs.4b8e75d1.css
Normal file
1
dashboard/public/assets/Logs.4b8e75d1.css
Normal file
@ -0,0 +1 @@
|
||||
._RuleSearch_1oz2t_1{padding:0 40px 5px}._RuleSearchContainer_1oz2t_5{position:relative;height:40px}._inputWrapper_1oz2t_10{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;width:100%}._input_1oz2t_10{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 15px 0 35px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._iconWrapper_1oz2t_35{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:10px;display:flex;justify-content:center;align-items:center}._logMeta_7a1x3_1{display:flex;align-items:center;flex-wrap:wrap;font-size:.9em}._logType_7a1x3_8{color:#eee;flex-shrink:0;text-align:center;width:66px;border-radius:100px;padding:3px 5px;margin:0 8px}._logTime_7a1x3_18{flex-shrink:0;color:#999;font-size:14px}._logText_7a1x3_24{flex-shrink:0;display:flex;font-family:Roboto Mono,Menlo,monospace;align-items:center;padding:8px 0;width:100%;white-space:pre;overflow:auto}._logsWrapper_7a1x3_37{margin:0;padding:0;color:var(--color-text)}._logsWrapper_7a1x3_37 .log{padding:10px 40px;background:var(--color-background)}._logsWrapper_7a1x3_37 .log.even{background:var(--color-background)}._logPlaceholder_7a1x3_51{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2d2d30}._logPlaceholder_7a1x3_51 div:nth-child(2){color:var(--color-text-secondary);font-size:1.4em;opacity:.6}._logPlaceholderIcon_7a1x3_64{opacity:.3}._search_7a1x3_68{max-width:1000px}
|
1
dashboard/public/assets/Logs.ac990610.js
Normal file
1
dashboard/public/assets/Logs.ac990610.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as m,b as l,j as t,k as u,e as y,J as T,K as b,y as P,L,u as R,C as N,S as z,N as C,O as W,h as w,P as k,i as j,c as I}from"./index.171f553a.js";import{a as O,F}from"./index.esm.e4dd1508.js";import{r as M,s as $,f as A}from"./logs.43986220.js";import{d as B}from"./debounce.c2d20996.js";import{u as D}from"./useRemainingViewPortHeight.7395542b.js";import{F as E,p as H}from"./Fab.ef67ff10.js";import{P as K,a as q}from"./play.7b1a5f99.js";function J(e,n){if(e==null)return{};var r=V(e,n),a,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)a=s[o],!(n.indexOf(a)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(r[a]=e[a]))}return r}function V(e,n){if(e==null)return{};var r={},a=Object.keys(e),o,s;for(s=0;s<a.length;s++)o=a[s],!(n.indexOf(o)>=0)&&(r[o]=e[o]);return r}var f=m.exports.forwardRef(function(e,n){var r=e.color,a=r===void 0?"currentColor":r,o=e.size,s=o===void 0?24:o,p=J(e,["color","size"]);return l("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...p,children:[t("circle",{cx:"11",cy:"11",r:"8"}),t("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})});f.propTypes={color:u.exports.string,size:u.exports.oneOfType([u.exports.string,u.exports.number])};f.displayName="Search";const Y=f,G="_RuleSearch_1oz2t_1",Q="_RuleSearchContainer_1oz2t_5",U="_inputWrapper_1oz2t_10",X="_input_1oz2t_10",Z="_iconWrapper_1oz2t_35",h={RuleSearch:G,RuleSearchContainer:Q,inputWrapper:U,input:X,iconWrapper:Z};function ee({dispatch:e,searchText:n,updateSearchText:r}){const[a,o]=m.exports.useState(n),s=m.exports.useCallback(i=>{e(r(i))},[e,r]),p=m.exports.useMemo(()=>B(s,300),[s]),g=i=>{o(i.target.value),p(i.target.value)};return t("div",{className:h.RuleSearch,children:l("div",{className:h.RuleSearchContainer,children:[t("div",{className:h.inputWrapper,children:t("input",{type:"text",value:a,onChange:g,className:h.input})}),t("div",{className:h.iconWrapper,children:t(Y,{size:20})})]})})}const te=e=>({searchText:T(e),updateSearchText:b}),oe=y(te)(ee),re="_logMeta_7a1x3_1",ae="_logType_7a1x3_8",ne="_logTime_7a1x3_18",se="_logText_7a1x3_24",ce="_logsWrapper_7a1x3_37",ie="_logPlaceholder_7a1x3_51",le="_logPlaceholderIcon_7a1x3_64",pe="_search_7a1x3_68",c={logMeta:re,logType:ae,logTime:ne,logText:se,logsWrapper:ce,logPlaceholder:ie,logPlaceholderIcon:le,search:pe},{useCallback:v,memo:he,useEffect:ge}=j,_=30,de={debug:"#28792c",info:"var(--bg-log-info-tag)",warning:"#b99105",error:"#c11c1c"};function ue({time:e,even:n,payload:r,type:a}){const o=I({even:n},"log");return t("div",{className:o,children:l("div",{className:c.logMeta,children:[t("div",{className:c.logTime,children:e}),t("div",{className:c.logType,style:{backgroundColor:de[a]},children:a}),t("div",{className:c.logText,children:r})]})})}function me(e,n){return n[e].id}const _e=he(({index:e,style:n,data:r})=>{const a=r[e];return t("div",{style:n,children:t(ue,{...a})})},O);function fe({dispatch:e,logLevel:n,apiConfig:r,logs:a,logStreamingPaused:o}){const s=P(),p=v(()=>{o?M({...r,logLevel:n}):$(),s.app.updateAppConfig("logStreamingPaused",!o)},[r,n,o,s.app]),g=v(S=>e(L(S)),[e]);ge(()=>{A({...r,logLevel:n},g)},[r,n,g]);const[i,x]=D(),{t:d}=R();return l("div",{children:[t(N,{title:d("Logs")}),t("div",{className:c.search,children:t(oe,{})}),t("div",{ref:i,style:{paddingBottom:_},children:a.length===0?l("div",{className:c.logPlaceholder,style:{height:x-_},children:[t("div",{className:c.logPlaceholderIcon,children:t(z,{width:200,height:200})}),t("div",{children:d("no_logs")})]}):l("div",{className:c.logsWrapper,children:[t(F,{height:x-_,width:"100%",itemCount:a.length,itemSize:80,itemData:a,itemKey:me,children:_e}),t(E,{icon:o?t(K,{size:16}):t(q,{size:16}),mainButtonStyles:o?{background:"#e74c3c"}:{},style:H,text:d(o?"Resume Refresh":"Pause Refresh"),onClick:p})]})})]})}const xe=e=>({logs:C(e),logLevel:W(e),apiConfig:w(e),logStreamingPaused:k(e)}),Re=y(xe)(fe);export{Re as default};
|
1
dashboard/public/assets/Proxies.16b46af4.js
Normal file
1
dashboard/public/assets/Proxies.16b46af4.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/Proxies.3fa3509d.css
Normal file
1
dashboard/public/assets/Proxies.3fa3509d.css
Normal file
@ -0,0 +1 @@
|
||||
._FlexCenter_1380a_1{display:flex;justify-content:center;align-items:center}._header_1y9js_1{display:flex;align-items:center}._header_1y9js_1:focus{outline:none}._header_1y9js_1 ._arrow_1y9js_8{display:inline-flex;-webkit-transform:rotate(0deg);transform:rotate(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}._header_1y9js_1 ._arrow_1y9js_8._isOpen_1y9js_13{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._header_1y9js_1 ._arrow_1y9js_8:focus{outline:var(--color-focus-blue) solid 1px}._btn_1y9js_20{margin-left:5px}._qty_1y9js_25{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._header_5pmv2_1{margin-bottom:12px}._groupHead_5pmv2_5{display:flex;flex-wrap:wrap;align-items:center}._action_5pmv2_11{margin:0 5px}._proxy_8ev0l_1{margin:3px;padding:5px;position:relative;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;outline:none;border:1px solid transparent;max-width:200px;background-color:var(--color-bg-proxy)}._proxy_8ev0l_1:focus{border:1px solid var(--color-focus-blue)}@media screen and (min-width: 30em){._proxy_8ev0l_1{min-width:200px;border-radius:10px;padding:10px}}._proxy_8ev0l_1._now_8ev0l_25{background-color:var(--color-focus-blue);color:#ddd}._proxy_8ev0l_1._error_8ev0l_29{opacity:.5}._proxy_8ev0l_1._selectable_8ev0l_32{transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;cursor:pointer}._proxy_8ev0l_1._selectable_8ev0l_32:hover{border-color:hsl(0deg,0%,var(--card-hover-border-lightness))}._proxyType_8ev0l_40{font-family:var(--font-mono);font-size:.6em;margin-right:3px}@media screen and (min-width: 30em){._proxyType_8ev0l_40{font-size:.85em}}._row_8ev0l_51{display:flex;align-items:center;justify-content:space-between}._proxyName_8ev0l_57{width:100%;margin-bottom:5px;font-size:.85em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._proxySmall_8ev0l_66{--size: 13px;width:var(--size);height:var(--size);border-radius:50%;position:relative}._proxySmall_8ev0l_66._now_8ev0l_25{--size: 15px}._proxySmall_8ev0l_66._now_8ev0l_25:before{--size-dot: 7px;content:"";position:absolute;width:var(--size-dot);height:var(--size-dot);background-color:#fff;border:1px solid var(--color-proxy-dot-selected-ind-bo);border-radius:4px;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}._proxySmall_8ev0l_66._selectable_8ev0l_32{transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out;cursor:pointer}._proxySmall_8ev0l_66._selectable_8ev0l_32:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}._proxyLatency_hz69v_1{border-radius:20px;color:#eee;font-size:.6em}@media screen and (min-width: 30em){._proxyLatency_hz69v_1{font-size:.85em}}._list_1oy7w_1{display:flex;flex-wrap:wrap;margin:8px 0 8px -3px}._listSummaryView_1oy7w_8{margin:14px 0;display:grid;grid-template-columns:repeat(auto-fill,13px);grid-gap:10px;place-items:center;max-width:900px}._updatedAt_1rx92_1{margin-bottom:12px}._updatedAt_1rx92_1 small{color:#777}._main_1rx92_8{padding:10px 15px}@media screen and (min-width: 30em){._main_1rx92_8{padding:10px 40px}}._head_1rx92_17{display:flex;align-items:center;flex-wrap:wrap}._action_1rx92_23{margin:0 5px;display:grid;grid-template-columns:auto auto;gap:10px;place-items:center}._refresh_1rx92_31{display:flex;justify-content:center;align-items:center;cursor:pointer}._labeledInput_cmki0_1{max-width:85vw;width:400px;display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:13px 0}hr{height:1px;background-color:var(--color-separator);border:none;outline:none;margin:1rem 0px}._overlay_uuk3b_1{background-color:#0009}._cnt_uuk3b_5{position:absolute;background-color:var(--bg-modal);color:var(--color-text);line-height:1.4;opacity:.6;transition:all .3s ease;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);box-shadow:#0000001f 0 4px 4px,#0000003d 0 16px 32px}._afterOpen_uuk3b_16{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._topBar_jgy4z_1{position:-webkit-sticky;position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;z-index:1;background-color:var(--color-background2);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px)}._topBarRight_jgy4z_13{display:flex;align-items:center;flex-wrap:wrap;flex:1;justify-content:flex-end;margin-right:20px}._textFilterContainer_jgy4z_22{max-width:350px;min-width:150px;flex:1;margin-right:8px}._group_jgy4z_29{padding:10px 15px}@media screen and (min-width: 30em){._group_jgy4z_29{padding:10px 40px}}
|
1
dashboard/public/assets/Rules.70e6962f.js
Normal file
1
dashboard/public/assets/Rules.70e6962f.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/Rules.e03c54a8.css
Normal file
1
dashboard/public/assets/Rules.e03c54a8.css
Normal file
@ -0,0 +1 @@
|
||||
._RuleProviderItem_12aid_1{display:grid;grid-template-columns:40px 1fr 46px;height:100%}._left_12aid_7{display:inline-flex;align-items:center;color:var(--color-text-secondary);opacity:.4}._middle_12aid_14{display:grid;gap:6px;grid-template-rows:1fr auto auto;align-items:center}._gray_12aid_21{color:#777}._action_12aid_25{display:grid;gap:4px;grid-template-columns:auto 1fr;align-items:center}._refreshBtn_12aid_32{padding:5px}._rule_1ymqx_1{display:flex;align-items:center;padding:6px 15px}@media screen and (min-width: 30em){._rule_1ymqx_1{padding:10px 40px}}._left_1ymqx_12{width:40px;padding-right:15px;color:var(--color-text-secondary);opacity:.4}._a_1ymqx_19{display:flex;align-items:center;font-size:12px;opacity:.8}._b_1ymqx_26{padding:10px 0;font-family:Roboto Mono,Menlo,monospace;font-size:16px}@media screen and (min-width: 30em){._b_1ymqx_26{font-size:19px}}._type_1ymqx_37{width:110px}._header_1j1w3_1{display:grid;grid-template-columns:1fr minmax(auto,330px);align-items:center;padding-right:15px}@media screen and (min-width: 30em){._header_1j1w3_1{padding-right:40px}}._RuleProviderItemWrapper_1j1w3_17{padding:6px 15px}@media screen and (min-width: 30em){._RuleProviderItemWrapper_1j1w3_17{padding:10px 40px}}
|
1
dashboard/public/assets/Select.1e55eba1.css
Normal file
1
dashboard/public/assets/Select.1e55eba1.css
Normal file
@ -0,0 +1 @@
|
||||
._select_13zm8_1{height:40px;line-height:1.5;width:100%;padding-left:8px;-webkit-appearance:none;appearance:none;background-color:var(--color-input-bg);color:var(--color-text);padding-right:20px;border-radius:4px;border:1px solid var(--color-input-border);background-image:url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);background-position:right 8px center;background-repeat:no-repeat}._select_13zm8_1:hover,._select_13zm8_1:focus{border-color:#343434;outline:none!important;color:var(--color-text-highlight);background-image:var(--select-bg-hover)}._select_13zm8_1:focus{box-shadow:#4299e199 0 0 0 3px}._select_13zm8_1 option{background-color:var(--color-background)}
|
1
dashboard/public/assets/Select.6c389032.js
Normal file
1
dashboard/public/assets/Select.6c389032.js
Normal file
@ -0,0 +1 @@
|
||||
import{j as s}from"./index.171f553a.js";const o="_select_13zm8_1",r={select:o};function i({options:t,selected:c,onChange:l}){return s("select",{className:r.select,value:c,onChange:l,children:t.map(([e,n])=>s("option",{value:e,children:n},e))})}export{i as S};
|
1
dashboard/public/assets/TextFitler.61537a57.js
Normal file
1
dashboard/public/assets/TextFitler.61537a57.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as u,b as g,j as i,k as c,c as f,V as x,i as d}from"./index.171f553a.js";import{d as h}from"./debounce.c2d20996.js";function v(t,n){if(t==null)return{};var o=_(t,n),r,e;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(e=0;e<s.length;e++)r=s[e],!(n.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(t,r)||(o[r]=t[r]))}return o}function _(t,n){if(t==null)return{};var o={},r=Object.keys(t),e,s;for(s=0;s<r.length;s++)e=r[s],!(n.indexOf(e)>=0)&&(o[e]=t[e]);return o}var l=u.exports.forwardRef(function(t,n){var o=t.color,r=o===void 0?"currentColor":o,e=t.size,s=e===void 0?24:e,a=v(t,["color","size"]);return g("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:[i("polyline",{points:"23 4 23 10 17 10"}),i("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]})});l.propTypes={color:c.exports.string,size:c.exports.oneOfType([c.exports.string,c.exports.number])};l.displayName="RotateCw";const b=l,y="_rotate_1dspl_1",m="_isRotating_1dspl_5",R="_rotating_1dspl_1",p={rotate:y,isRotating:m,rotating:R};function P(t){const n=t.size||16,o=f(p.rotate,{[p.isRotating]:t.isRotating});return i("span",{className:o,children:i(b,{size:n})})}const{useCallback:w,useState:j,useMemo:k}=d;function O(t){const[,n]=x(t),[o,r]=j(""),e=k(()=>h(n,300),[n]);return[w(a=>{r(a.target.value),e(a.target.value)},[e]),o]}const T="_input_16a1f_1",C={input:T};function $(t){const[n,o]=O(t.textAtom);return i("input",{className:C.input,type:"text",value:o,onChange:n,placeholder:t.placeholder})}export{P as R,$ as T,b as a};
|
1
dashboard/public/assets/TextFitler.b21c0577.css
Normal file
1
dashboard/public/assets/TextFitler.b21c0577.css
Normal file
@ -0,0 +1 @@
|
||||
._rotate_1dspl_1{display:inline-flex}._isRotating_1dspl_5{-webkit-animation:_rotating_1dspl_1 3s infinite linear;animation:_rotating_1dspl_1 3s infinite linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}._input_16a1f_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;outline:none;padding:8px 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._input_16a1f_1:focus{border:1px solid var(--color-focus-blue)}
|
18
dashboard/public/assets/chart-lib.a8ad03fd.js
Normal file
18
dashboard/public/assets/chart-lib.a8ad03fd.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/chevron-down.dd238e96.js
Normal file
1
dashboard/public/assets/chevron-down.dd238e96.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as f,j as l,k as s}from"./index.171f553a.js";function c(r,i){if(r==null)return{};var n=v(r,i),o,e;if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);for(e=0;e<t.length;e++)o=t[e],!(i.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(r,o)||(n[o]=r[o]))}return n}function v(r,i){if(r==null)return{};var n={},o=Object.keys(r),e,t;for(t=0;t<o.length;t++)e=o[t],!(i.indexOf(e)>=0)&&(n[e]=r[e]);return n}var p=f.exports.forwardRef(function(r,i){var n=r.color,o=n===void 0?"currentColor":n,e=r.size,t=e===void 0?24:e,a=c(r,["color","size"]);return l("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:l("polyline",{points:"6 9 12 15 18 9"})})});p.propTypes={color:s.exports.string,size:s.exports.oneOfType([s.exports.string,s.exports.number])};p.displayName="ChevronDown";const u=p;export{u as C};
|
1
dashboard/public/assets/debounce.c2d20996.js
Normal file
1
dashboard/public/assets/debounce.c2d20996.js
Normal file
@ -0,0 +1 @@
|
||||
function O(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var M=typeof global=="object"&&global&&global.Object===Object&&global;const R=M;var w=typeof self=="object"&&self&&self.Object===Object&&self,B=R||w||Function("return this")();const W=B;var F=function(){return W.Date.now()};const S=F;var G=/\s/;function U(e){for(var n=e.length;n--&&G.test(e.charAt(n)););return n}var _=/^\s+/;function D(e){return e&&e.slice(0,U(e)+1).replace(_,"")}var H=W.Symbol;const y=H;var L=Object.prototype,X=L.hasOwnProperty,q=L.toString,g=y?y.toStringTag:void 0;function z(e){var n=X.call(e,g),i=e[g];try{e[g]=void 0;var o=!0}catch{}var f=q.call(e);return o&&(n?e[g]=i:delete e[g]),f}var J=Object.prototype,K=J.toString;function Q(e){return K.call(e)}var V="[object Null]",Y="[object Undefined]",$=y?y.toStringTag:void 0;function Z(e){return e==null?e===void 0?Y:V:$&&$ in Object(e)?z(e):Q(e)}function ee(e){return e!=null&&typeof e=="object"}var ne="[object Symbol]";function te(e){return typeof e=="symbol"||ee(e)&&Z(e)==ne}var E=0/0,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^0o[0-7]+$/i,ae=parseInt;function k(e){if(typeof e=="number")return e;if(te(e))return E;if(O(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=O(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=D(e);var i=ie.test(e);return i||oe.test(e)?ae(e.slice(2),i?2:8):re.test(e)?E:+e}var fe="Expected a function",ce=Math.max,ue=Math.min;function se(e,n,i){var o,f,s,u,r,c,d=0,v=!1,l=!1,T=!0;if(typeof e!="function")throw new TypeError(fe);n=k(n)||0,O(i)&&(v=!!i.leading,l="maxWait"in i,s=l?ce(k(i.maxWait)||0,n):s,T="trailing"in i?!!i.trailing:T);function j(t){var a=o,b=f;return o=f=void 0,d=t,u=e.apply(b,a),u}function N(t){return d=t,r=setTimeout(m,n),v?j(t):u}function P(t){var a=t-c,b=t-d,I=n-a;return l?ue(I,s-b):I}function h(t){var a=t-c,b=t-d;return c===void 0||a>=n||a<0||l&&b>=s}function m(){var t=S();if(h(t))return x(t);r=setTimeout(m,P(t))}function x(t){return r=void 0,T&&o?j(t):(o=f=void 0,u)}function A(){r!==void 0&&clearTimeout(r),d=0,o=c=f=r=void 0}function C(){return r===void 0?u:x(S())}function p(){var t=S(),a=h(t);if(o=arguments,f=this,c=t,a){if(r===void 0)return N(c);if(l)return clearTimeout(r),r=setTimeout(m,n),j(c)}return r===void 0&&(r=setTimeout(m,n)),u}return p.cancel=A,p.flush=C,p}export{se as d};
|
1
dashboard/public/assets/en.fb34eaf7.js
Normal file
1
dashboard/public/assets/en.fb34eaf7.js
Normal file
@ -0,0 +1 @@
|
||||
const e={Overview:"Overview",Proxies:"Proxies",Rules:"Rules",Conns:"Conns",Config:"Config",Logs:"Logs",Upload:"Upload",Download:"Download","Upload Total":"Upload Total","Download Total":"Download Total","Active Connections":"Active Connections","Pause Refresh":"Pause Refresh","Resume Refresh":"Resume Refresh",Up:"Up",Down:"Down","Test Latency":"Test Latency",settings:"settings",sort_in_grp:"Sorting in group",hide_unavail_proxies:"Hide unavailable proxies",auto_close_conns:"Automatically close old connections",order_natural:"Original order in config file",order_latency_asc:"By latency from small to big",order_latency_desc:"By latency from big to small",order_name_asc:"By name alphabetically (A-Z)",order_name_desc:"By name alphabetically (Z-A)",Connections:"Connections",Active:"Active",Closed:"Closed",switch_theme:"Switch theme",theme:"theme",about:"about",no_logs:"No logs yet, hang tight...",chart_style:"Chart Style",latency_test_url:"Latency Test URL",lang:"Language",update_all_rule_provider:"Update all rule providers",update_all_proxy_provider:"Update all proxy providers"};export{e as data};
|
130
dashboard/public/assets/index.171f553a.js
Normal file
130
dashboard/public/assets/index.171f553a.js
Normal file
File diff suppressed because one or more lines are too long
9
dashboard/public/assets/index.8bb012c6.js
Normal file
9
dashboard/public/assets/index.8bb012c6.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/index.92e2d967.js
Normal file
1
dashboard/public/assets/index.92e2d967.js
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/index.b38debfc.css
Normal file
1
dashboard/public/assets/index.b38debfc.css
Normal file
File diff suppressed because one or more lines are too long
1
dashboard/public/assets/index.esm.e4dd1508.js
Normal file
1
dashboard/public/assets/index.esm.e4dd1508.js
Normal file
File diff suppressed because one or more lines are too long
BIN
dashboard/public/assets/inter-latin-400-normal.0364d368.woff2
Normal file
BIN
dashboard/public/assets/inter-latin-400-normal.0364d368.woff2
Normal file
Binary file not shown.
BIN
dashboard/public/assets/inter-latin-400-normal.3ea830d4.woff
Normal file
BIN
dashboard/public/assets/inter-latin-400-normal.3ea830d4.woff
Normal file
Binary file not shown.
BIN
dashboard/public/assets/inter-latin-800-normal.a51ac27d.woff2
Normal file
BIN
dashboard/public/assets/inter-latin-800-normal.a51ac27d.woff2
Normal file
Binary file not shown.
BIN
dashboard/public/assets/inter-latin-800-normal.d08d7178.woff
Normal file
BIN
dashboard/public/assets/inter-latin-800-normal.d08d7178.woff
Normal file
Binary file not shown.
2
dashboard/public/assets/logs.43986220.js
Normal file
2
dashboard/public/assets/logs.43986220.js
Normal file
@ -0,0 +1,2 @@
|
||||
import{E as w,G as D,H as u}from"./index.171f553a.js";const v="/logs",L=new TextDecoder("utf-8"),M=()=>Math.floor((1+Math.random())*65536).toString(16);let h=!1,i=!1,f="",s,g;function m(e,n){let t;try{t=JSON.parse(e)}catch{console.log("JSON.parse error",JSON.parse(e))}const r=new Date,l=$(r);t.time=l,t.id=+r-0+M(),t.even=h=!h,n(t)}function $(e){const n=e.getFullYear()%100,t=u(e.getMonth()+1,2),r=u(e.getDate(),2),l=u(e.getHours(),2),o=u(e.getMinutes(),2),c=u(e.getSeconds(),2);return`${n}-${t}-${r} ${l}:${o}:${c}`}function p(e,n){return e.read().then(({done:t,value:r})=>{const l=L.decode(r,{stream:!t});f+=l;const o=f.split(`
|
||||
`),c=o[o.length-1];for(let d=0;d<o.length-1;d++)m(o[d],n);if(t){m(c,n),f="",console.log("GET /logs streaming done"),i=!1;return}else f=c;return p(e,n)})}function S(e){const n=Object.keys(e);return n.sort(),n.map(t=>e[t]).join("|")}let b,a;function k(e,n){if(e.logLevel==="uninit"||i||s&&s.readyState===1)return;g=n;const t=w(e,v);s=new WebSocket(t),s.addEventListener("error",()=>{y(e,n)}),s.addEventListener("message",function(r){m(r.data,n)})}function H(){s.close(),a&&a.abort()}function O(e){!g||!s||(s.close(),i=!1,k(e,g))}function y(e,n){if(a&&S(e)!==b)a.abort();else if(i)return;i=!0,b=S(e),a=new AbortController;const t=a.signal,{url:r,init:l}=D(e);fetch(r+v+"?level="+e.logLevel,{...l,signal:t}).then(o=>{const c=o.body.getReader();p(c,n)},o=>{i=!1,!t.aborted&&console.log("GET /logs error:",o.message)})}export{k as f,O as r,H as s};
|
1
dashboard/public/assets/play.7b1a5f99.js
Normal file
1
dashboard/public/assets/play.7b1a5f99.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as c,b as u,j as p,k as s}from"./index.171f553a.js";function y(e,n){if(e==null)return{};var i=g(e,n),t,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],!(n.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(i[t]=e[t]))}return i}function g(e,n){if(e==null)return{};var i={},t=Object.keys(e),r,o;for(o=0;o<t.length;o++)r=t[o],!(n.indexOf(r)>=0)&&(i[r]=e[r]);return i}var l=c.exports.forwardRef(function(e,n){var i=e.color,t=i===void 0?"currentColor":i,r=e.size,o=r===void 0?24:r,a=y(e,["color","size"]);return u("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:[p("rect",{x:"6",y:"4",width:"4",height:"16"}),p("rect",{x:"14",y:"4",width:"4",height:"16"})]})});l.propTypes={color:s.exports.string,size:s.exports.oneOfType([s.exports.string,s.exports.number])};l.displayName="Pause";const d=l;function h(e,n){if(e==null)return{};var i=v(e,n),t,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],!(n.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(i[t]=e[t]))}return i}function v(e,n){if(e==null)return{};var i={},t=Object.keys(e),r,o;for(o=0;o<t.length;o++)r=t[o],!(n.indexOf(r)>=0)&&(i[r]=e[r]);return i}var f=c.exports.forwardRef(function(e,n){var i=e.color,t=i===void 0?"currentColor":i,r=e.size,o=r===void 0?24:r,a=h(e,["color","size"]);return p("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:p("polygon",{points:"5 3 19 12 5 21 5 3"})})});f.propTypes={color:s.exports.string,size:s.exports.oneOfType([s.exports.string,s.exports.number])};f.displayName="Play";const w=f;export{w as P,d as a};
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
import{i as r}from"./index.171f553a.js";const{useState:s,useRef:u,useCallback:a,useLayoutEffect:c}=r;function d(){const t=u(null),[n,i]=s(200),e=a(()=>{const{top:o}=t.current.getBoundingClientRect();i(window.innerHeight-o)},[]);return c(()=>(e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[e]),[t,n]}export{d as u};
|
1
dashboard/public/assets/zh.9b79b7bf.js
Normal file
1
dashboard/public/assets/zh.9b79b7bf.js
Normal file
@ -0,0 +1 @@
|
||||
const u={Overview:"\u6982\u89C8",Proxies:"\u4EE3\u7406",Rules:"\u89C4\u5219",Conns:"\u8FDE\u63A5",Config:"\u914D\u7F6E",Logs:"\u65E5\u5FD7",Upload:"\u4E0A\u4F20",Download:"\u4E0B\u8F7D","Upload Total":"\u4E0A\u4F20\u603B\u91CF","Download Total":"\u4E0B\u8F7D\u603B\u91CF","Active Connections":"\u6D3B\u52A8\u8FDE\u63A5","Pause Refresh":"\u6682\u505C\u5237\u65B0","Resume Refresh":"\u7EE7\u7EED\u5237\u65B0",Up:"\u4E0A\u4F20",Down:"\u4E0B\u8F7D","Test Latency":"\u5EF6\u8FDF\u6D4B\u901F",settings:"\u8BBE\u7F6E",sort_in_grp:"\u4EE3\u7406\u7EC4\u6761\u76EE\u6392\u5E8F",hide_unavail_proxies:"\u9690\u85CF\u4E0D\u53EF\u7528\u4EE3\u7406",auto_close_conns:"\u5207\u6362\u4EE3\u7406\u65F6\u81EA\u52A8\u65AD\u5F00\u65E7\u8FDE\u63A5",order_natural:"\u539F config \u6587\u4EF6\u4E2D\u7684\u6392\u5E8F",order_latency_asc:"\u6309\u5EF6\u8FDF\u4ECE\u5C0F\u5230\u5927",order_latency_desc:"\u6309\u5EF6\u8FDF\u4ECE\u5927\u5230\u5C0F",order_name_asc:"\u6309\u540D\u79F0\u5B57\u6BCD\u6392\u5E8F (A-Z)",order_name_desc:"\u6309\u540D\u79F0\u5B57\u6BCD\u6392\u5E8F (Z-A)",Connections:"\u8FDE\u63A5",Active:"\u6D3B\u52A8",Closed:"\u5DF2\u65AD\u5F00",switch_theme:"\u5207\u6362\u4E3B\u9898",theme:"\u4E3B\u9898",about:"\u5173\u4E8E",no_logs:"\u6682\u65E0\u65E5\u5FD7...",chart_style:"\u6D41\u91CF\u56FE\u6837\u5F0F",latency_test_url:"\u5EF6\u8FDF\u6D4B\u901F URL",lang:"\u8BED\u8A00",update_all_rule_provider:"\u66F4\u65B0\u6240\u6709 rule provider",update_all_proxy_provider:"\u66F4\u65B0\u6240\u6709 proxy providers"};export{u as data};
|
24
dashboard/public/index.html
Normal file
24
dashboard/public/index.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="shortcut icon" href="yacd.ico" />
|
||||
<link rel="icon" type="image/png" sizes="64x64" href="yacd-64.png" />
|
||||
<link rel="icon" type="image/png" sizes="128x128" href="yacd-128.png" />
|
||||
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" />
|
||||
<meta name="apple-mobile-web-app-title" content="yacd">
|
||||
<meta name="theme-color" content="#eeeeee" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#202020" media="(prefers-color-scheme: dark)" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="application-name" content="yacd" />
|
||||
<meta name="description" content="Yet Another Clash Dashboard" />
|
||||
<title>yacd</title>
|
||||
<script type="module" crossorigin src="./assets/index.171f553a.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.b38debfc.css">
|
||||
<link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head>
|
||||
<body>
|
||||
<div id="app" data-base-url="http://127.0.0.1:9090"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
1
dashboard/public/manifest.webmanifest
Normal file
1
dashboard/public/manifest.webmanifest
Normal file
@ -0,0 +1 @@
|
||||
{"name":"yacd","short_name":"yacd","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./"}
|
1
dashboard/public/registerSW.js
Normal file
1
dashboard/public/registerSW.js
Normal file
@ -0,0 +1 @@
|
||||
if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}
|
2
dashboard/public/sw.js
Normal file
2
dashboard/public/sw.js
Normal file
File diff suppressed because one or more lines are too long
BIN
dashboard/public/yacd-128.png
Normal file
BIN
dashboard/public/yacd-128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
BIN
dashboard/public/yacd-64.png
Normal file
BIN
dashboard/public/yacd-64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
dashboard/public/yacd.ico
Normal file
BIN
dashboard/public/yacd.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
0
logs/clash.log
Normal file
0
logs/clash.log
Normal file
90
restart.sh
Normal file
90
restart.sh
Normal file
@ -0,0 +1,90 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 自定义action函数,实现通用action功能
|
||||
success() {
|
||||
echo -en "\\033[60G[\\033[1;32m OK \\033[0;39m]\r"
|
||||
return 0
|
||||
}
|
||||
|
||||
failure() {
|
||||
local rc=$?
|
||||
echo -en "\\033[60G[\\033[1;31mFAILED\\033[0;39m]\r"
|
||||
[ -x /bin/plymouth ] && /bin/plymouth --details
|
||||
return $rc
|
||||
}
|
||||
|
||||
action() {
|
||||
local STRING rc
|
||||
|
||||
STRING=$1
|
||||
echo -n "$STRING "
|
||||
shift
|
||||
"$@" && success $"$STRING" || failure $"$STRING"
|
||||
rc=$?
|
||||
echo
|
||||
return $rc
|
||||
}
|
||||
|
||||
# 函数,判断命令是否正常执行
|
||||
if_success() {
|
||||
local ReturnStatus=$3
|
||||
if [ $ReturnStatus -eq 0 ]; then
|
||||
action "$1" /bin/true
|
||||
else
|
||||
action "$2" /bin/false
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# 定义路劲变量
|
||||
Server_Dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
||||
Conf_Dir="$Server_Dir/conf"
|
||||
Log_Dir="$Server_Dir/logs"
|
||||
|
||||
## 关闭clash服务
|
||||
Text1="服务关闭成功!"
|
||||
Text2="服务关闭失败!"
|
||||
# 查询并关闭程序进程
|
||||
PID_NUM=`ps -ef | grep [c]lash-linux-a | wc -l`
|
||||
PID=`ps -ef | grep [c]lash-linux-a | awk '{print $2}'`
|
||||
if [ $PID_NUM -ne 0 ]; then
|
||||
kill -9 $PID
|
||||
ReturnStatus=$?
|
||||
# ps -ef | grep [c]lash-linux-a | awk '{print $2}' | xargs kill -9
|
||||
fi
|
||||
if_success $Text1 $Text2 $ReturnStatus
|
||||
|
||||
sleep 3
|
||||
|
||||
## 获取CPU架构
|
||||
if /bin/arch &>/dev/null; then
|
||||
CpuArch=`/bin/arch`
|
||||
elif /usr/bin/arch &>/dev/null; then
|
||||
CpuArch=`/usr/bin/arch`
|
||||
elif /bin/uname -m &>/dev/null; then
|
||||
CpuArch=`/bin/uname -m`
|
||||
else
|
||||
echo -e "\033[31m\n[ERROR] Failed to obtain CPU architecture!\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## 重启启动clash服务
|
||||
Text5="服务启动成功!"
|
||||
Text6="服务启动失败!"
|
||||
if [[ $CpuArch =~ "x86_64" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-amd64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
elif [[ $CpuArch =~ "aarch64" || $CpuArch =~ "arm64" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-arm64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
elif [[ $CpuArch =~ "armv7" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-armv7 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
else
|
||||
echo -e "\033[31m\n[ERROR] Unsupported CPU Architecture!\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
38
scripts/clash_profile_conversion.sh
Normal file
38
scripts/clash_profile_conversion.sh
Normal file
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 加载clash配置文件内容
|
||||
raw_content=$(cat ${Server_Dir}/temp/clash.yaml)
|
||||
|
||||
# 判断订阅内容是否符合clash配置文件标准
|
||||
#if echo "$raw_content" | jq 'has("proxies") and has("proxy-groups") and has("rules")' 2>/dev/null; then
|
||||
if echo "$raw_content" | awk '/^proxies:/{p=1} /^proxy-groups:/{g=1} /^rules:/{r=1} p&&g&&r{exit} END{if(p&&g&&r) exit 0; else exit 1}'; then
|
||||
echo "订阅内容符合clash标准"
|
||||
echo "$raw_content" > ${Server_Dir}/temp/clash_config.yaml
|
||||
else
|
||||
# 判断订阅内容是否为base64编码
|
||||
if echo "$raw_content" | base64 -d &>/dev/null; then
|
||||
# 订阅内容为base64编码,进行解码
|
||||
decoded_content=$(echo "$raw_content" | base64 -d)
|
||||
|
||||
# 判断解码后的内容是否符合clash配置文件标准
|
||||
#if echo "$decoded_content" | jq 'has("proxies") and has("proxy-groups") and has("rules")' 2>/dev/null; then
|
||||
if echo "$decoded_content" | awk '/^proxies:/{p=1} /^proxy-groups:/{g=1} /^rules:/{r=1} p&&g&&r{exit} END{if(p&&g&&r) exit 0; else exit 1}'; then
|
||||
echo "解码后的内容符合clash标准"
|
||||
echo "$decoded_content" > ${Server_Dir}/temp/clash_config.yaml
|
||||
else
|
||||
echo "解码后的内容不符合clash标准,尝试将其转换为标准格式"
|
||||
${Server_Dir}/tools/subconverter/subconverter -g &>> ${Server_Dir}/logs/subconverter.log
|
||||
converted_file=${Server_Dir}/temp/clash_config.yaml
|
||||
# 判断转换后的内容是否符合clash配置文件标准
|
||||
if awk '/^proxies:/{p=1} /^proxy-groups:/{g=1} /^rules:/{r=1} p&&g&&r{exit} END{if(p&&g&&r) exit 0; else exit 1}' $converted_file; then
|
||||
echo "配置文件已成功转换成clash标准格式"
|
||||
else
|
||||
echo "配置文件转换标准格式失败"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "订阅内容不符合clash标准,无法转换为配置文件"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
50
scripts/get_cpu_arch.sh
Normal file
50
scripts/get_cpu_arch.sh
Normal file
@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
# 该脚本的作用是获取Linux操作系统上运行的CPU架构信息,并将其输出到标准输出流。
|
||||
|
||||
function exitWithError {
|
||||
local errorMessage="$1"
|
||||
echo -e "\033[31m[ERROR] $errorMessage\033[0m" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Function to get CPU architecture
|
||||
function get_cpu_arch {
|
||||
local commands=("$@")
|
||||
for cmd in "${commands[@]}"; do
|
||||
local CpuArch
|
||||
CpuArch=$(command -v $cmd >/dev/null && $cmd 2>/dev/null || type -p $cmd 2>/dev/null)
|
||||
if [[ -n "$CpuArch" ]]; then
|
||||
echo "$CpuArch"
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Check if we are running on a supported Linux distribution
|
||||
if [[ -f "/etc/os-release" ]]; then
|
||||
. /etc/os-release
|
||||
case "$ID" in
|
||||
"ubuntu"|"debian"|"linuxmint")
|
||||
# Debian-based distributions
|
||||
CpuArch=$(get_cpu_arch "dpkg-architecture -qDEB_HOST_ARCH_CPU" "dpkg-architecture -qDEB_BUILD_ARCH_CPU" "uname -m")
|
||||
;;
|
||||
"centos"|"fedora"|"rhel")
|
||||
# Red Hat-based distributions
|
||||
CpuArch=$(get_cpu_arch "uname -m" "arch" "uname")
|
||||
;;
|
||||
*)
|
||||
# Unsupported Linux distribution
|
||||
CpuArch=$(get_cpu_arch "uname -m" "arch" "uname")
|
||||
if [[ -z "$CpuArch" ]]; then
|
||||
exitWithError "Failed to obtain CPU architecture"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
elif [[ -f "/etc/redhat-release" ]]; then
|
||||
# Older Red Hat-based distributions
|
||||
CpuArch=$(get_cpu_arch "uname -m" "arch" "uname")
|
||||
else
|
||||
exitWithError "Unsupported Linux distribution"
|
||||
fi
|
||||
|
||||
echo "CPU architecture: $CpuArch"
|
14
shutdown.sh
Normal file
14
shutdown.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 关闭clash服务
|
||||
PID_NUM=`ps -ef | grep [c]lash-linux-a | wc -l`
|
||||
PID=`ps -ef | grep [c]lash-linux-a | awk '{print $2}'`
|
||||
if [ $PID_NUM -ne 0 ]; then
|
||||
kill -9 $PID
|
||||
# ps -ef | grep [c]lash-linux-a | awk '{print $2}' | xargs kill -9
|
||||
fi
|
||||
|
||||
# 清除环境变量
|
||||
> /etc/profile.d/clash.sh
|
||||
|
||||
echo -e "\n服务关闭成功,请执行以下命令关闭系统代理:proxy_off\n"
|
213
start.sh
Normal file
213
start.sh
Normal file
@ -0,0 +1,213 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 加载系统函数库(Only for RHEL Linux)
|
||||
# [ -f /etc/init.d/functions ] && source /etc/init.d/functions
|
||||
|
||||
#################### 脚本初始化任务 ####################
|
||||
|
||||
# 获取脚本工作目录绝对路径
|
||||
export Server_Dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
||||
|
||||
# 加载.env变量文件
|
||||
source $Server_Dir/.env
|
||||
|
||||
# 给二进制启动程序、脚本等添加可执行权限
|
||||
chmod +x $Server_Dir/bin/*
|
||||
chmod +x $Server_Dir/scripts/*
|
||||
chmod +x $Server_Dir/tools/subconverter/subconverter
|
||||
|
||||
|
||||
|
||||
#################### 变量设置 ####################
|
||||
|
||||
Conf_Dir="$Server_Dir/conf"
|
||||
Temp_Dir="$Server_Dir/temp"
|
||||
Log_Dir="$Server_Dir/logs"
|
||||
|
||||
# 将 CLASH_URL 变量的值赋给 URL 变量,并检查 CLASH_URL 是否为空
|
||||
URL=${CLASH_URL:?Error: CLASH_URL variable is not set or empty}
|
||||
|
||||
# 获取 CLASH_SECRET 值,如果不存在则生成一个随机数
|
||||
Secret=${CLASH_SECRET:-$(openssl rand -hex 32)}
|
||||
|
||||
|
||||
|
||||
#################### 函数定义 ####################
|
||||
|
||||
# 自定义action函数,实现通用action功能
|
||||
success() {
|
||||
echo -en "\\033[60G[\\033[1;32m OK \\033[0;39m]\r"
|
||||
return 0
|
||||
}
|
||||
|
||||
failure() {
|
||||
local rc=$?
|
||||
echo -en "\\033[60G[\\033[1;31mFAILED\\033[0;39m]\r"
|
||||
[ -x /bin/plymouth ] && /bin/plymouth --details
|
||||
return $rc
|
||||
}
|
||||
|
||||
action() {
|
||||
local STRING rc
|
||||
|
||||
STRING=$1
|
||||
echo -n "$STRING "
|
||||
shift
|
||||
"$@" && success $"$STRING" || failure $"$STRING"
|
||||
rc=$?
|
||||
echo
|
||||
return $rc
|
||||
}
|
||||
|
||||
# 判断命令是否正常执行 函数
|
||||
if_success() {
|
||||
local ReturnStatus=$3
|
||||
if [ $ReturnStatus -eq 0 ]; then
|
||||
action "$1" /bin/true
|
||||
else
|
||||
action "$2" /bin/false
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
#################### 任务执行 ####################
|
||||
|
||||
## 获取CPU架构信息
|
||||
# Source the script to get CPU architecture
|
||||
source $Server_Dir/scripts/get_cpu_arch.sh
|
||||
|
||||
# Check if we obtained CPU architecture
|
||||
if [[ -z "$CpuArch" ]]; then
|
||||
echo "Failed to obtain CPU architecture"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
## 临时取消环境变量
|
||||
unset http_proxy
|
||||
unset https_proxy
|
||||
unset no_proxy
|
||||
unset HTTP_PROXY
|
||||
unset HTTPS_PROXY
|
||||
unset NO_PROXY
|
||||
|
||||
|
||||
## Clash 订阅地址检测及配置文件下载
|
||||
# 检查url是否有效
|
||||
echo -e '\n正在检测订阅地址...'
|
||||
Text1="Clash订阅地址可访问!"
|
||||
Text2="Clash订阅地址不可访问!"
|
||||
#curl -o /dev/null -s -m 10 --connect-timeout 10 -w %{http_code} $URL | grep '[23][0-9][0-9]' &>/dev/null
|
||||
curl -o /dev/null -L -k -sS --retry 5 -m 10 --connect-timeout 10 -w "%{http_code}" $URL | grep -E '^[23][0-9]{2}$' &>/dev/null
|
||||
ReturnStatus=$?
|
||||
if_success $Text1 $Text2 $ReturnStatus
|
||||
|
||||
# 拉取更新config.yml文件
|
||||
echo -e '\n正在下载Clash配置文件...'
|
||||
Text3="配置文件config.yaml下载成功!"
|
||||
Text4="配置文件config.yaml下载失败,退出启动!"
|
||||
|
||||
# 尝试使用curl进行下载
|
||||
curl -L -k -sS --retry 5 -m 10 -o $Temp_Dir/clash.yaml $URL
|
||||
ReturnStatus=$?
|
||||
if [ $ReturnStatus -ne 0 ]; then
|
||||
# 如果使用curl下载失败,尝试使用wget进行下载
|
||||
for i in {1..10}
|
||||
do
|
||||
wget -q --no-check-certificate -O $Temp_Dir/clash.yaml $URL
|
||||
ReturnStatus=$?
|
||||
if [ $ReturnStatus -eq 0 ]; then
|
||||
break
|
||||
else
|
||||
continue
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if_success $Text3 $Text4 $ReturnStatus
|
||||
|
||||
# 重命名clash配置文件
|
||||
\cp -a $Temp_Dir/clash.yaml $Temp_Dir/clash_config.yaml
|
||||
|
||||
|
||||
## 判断订阅内容是否符合clash配置文件标准,尝试转换(当前不支持对 x86_64 以外的CPU架构服务器进行clash配置文件检测和转换,此功能将在后续添加)
|
||||
if [[ $CpuArch =~ "x86_64" || $CpuArch =~ "amd64" ]]; then
|
||||
echo -e '\n判断订阅内容是否符合clash配置文件标准:'
|
||||
bash $Server_Dir/scripts/clash_profile_conversion.sh
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
|
||||
## Clash 配置文件重新格式化及配置
|
||||
# 取出代理相关配置
|
||||
#sed -n '/^proxies:/,$p' $Temp_Dir/clash.yaml > $Temp_Dir/proxy.txt
|
||||
sed -n '/^proxies:/,$p' $Temp_Dir/clash_config.yaml > $Temp_Dir/proxy.txt
|
||||
|
||||
# 合并形成新的config.yaml
|
||||
cat $Temp_Dir/templete_config.yaml > $Temp_Dir/config.yaml
|
||||
cat $Temp_Dir/proxy.txt >> $Temp_Dir/config.yaml
|
||||
\cp $Temp_Dir/config.yaml $Conf_Dir/
|
||||
|
||||
# Configure Clash Dashboard
|
||||
Work_Dir=$(cd $(dirname $0); pwd)
|
||||
Dashboard_Dir="${Work_Dir}/dashboard/public"
|
||||
sed -ri "s@^# external-ui:.*@external-ui: ${Dashboard_Dir}@g" $Conf_Dir/config.yaml
|
||||
sed -r -i '/^secret: /s@(secret: ).*@\1'${Secret}'@g' $Conf_Dir/config.yaml
|
||||
|
||||
|
||||
## 启动Clash服务
|
||||
echo -e '\n正在启动Clash服务...'
|
||||
Text5="服务启动成功!"
|
||||
Text6="服务启动失败!"
|
||||
if [[ $CpuArch =~ "x86_64" || $CpuArch =~ "amd64" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-amd64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
elif [[ $CpuArch =~ "aarch64" || $CpuArch =~ "arm64" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-arm64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
elif [[ $CpuArch =~ "armv7" ]]; then
|
||||
nohup $Server_Dir/bin/clash-linux-armv7 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||
ReturnStatus=$?
|
||||
if_success $Text5 $Text6 $ReturnStatus
|
||||
else
|
||||
echo -e "\033[31m\n[ERROR] Unsupported CPU Architecture!\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Output Dashboard access address and Secret
|
||||
echo ''
|
||||
echo -e "Clash Dashboard 访问地址: http://<ip>:9090/ui"
|
||||
echo -e "Secret: ${Secret}"
|
||||
echo ''
|
||||
|
||||
# 添加环境变量(root权限)
|
||||
cat>/etc/profile.d/clash.sh<<EOF
|
||||
# 开启系统代理
|
||||
function proxy_on() {
|
||||
export http_proxy=http://127.0.0.1:7890
|
||||
export https_proxy=http://127.0.0.1:7890
|
||||
export no_proxy=127.0.0.1,localhost
|
||||
export HTTP_PROXY=http://127.0.0.1:7890
|
||||
export HTTPS_PROXY=http://127.0.0.1:7890
|
||||
export NO_PROXY=127.0.0.1,localhost
|
||||
echo -e "\033[32m[√] 已开启代理\033[0m"
|
||||
}
|
||||
|
||||
# 关闭系统代理
|
||||
function proxy_off(){
|
||||
unset http_proxy
|
||||
unset https_proxy
|
||||
unset no_proxy
|
||||
unset HTTP_PROXY
|
||||
unset HTTPS_PROXY
|
||||
unset NO_PROXY
|
||||
echo -e "\033[31m[×] 已关闭代理\033[0m"
|
||||
}
|
||||
EOF
|
||||
|
||||
echo -e "请执行以下命令加载环境变量: source /etc/profile.d/clash.sh\n"
|
||||
echo -e "请执行以下命令开启系统代理: proxy_on\n"
|
||||
echo -e "若要临时关闭系统代理,请执行: proxy_off\n"
|
0
temp/clash.yaml
Normal file
0
temp/clash.yaml
Normal file
0
temp/config.yaml
Normal file
0
temp/config.yaml
Normal file
0
temp/proxy.txt
Normal file
0
temp/proxy.txt
Normal file
28
temp/templete_config.yaml
Normal file
28
temp/templete_config.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
# HTTP 代理端口
|
||||
port: 7890
|
||||
|
||||
# SOCKS5 代理端口
|
||||
socks-port: 7891
|
||||
|
||||
# Linux 和 macOS 的 redir 代理端口
|
||||
redir-port: 7892
|
||||
|
||||
# 允许局域网的连接
|
||||
allow-lan: true
|
||||
|
||||
# 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连)
|
||||
mode: rule
|
||||
|
||||
# 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
|
||||
# 5 个级别:silent / info / warning / error / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
|
||||
log-level: silent
|
||||
# Clash 的 RESTful API
|
||||
external-controller: '0.0.0.0:9090'
|
||||
|
||||
# RESTful API 的口令
|
||||
secret: 'b&ZlKTte5OnEt2Sn'
|
||||
|
||||
# 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `RESTful API/ui`
|
||||
# 参数应填写配置目录的相对路径或绝对路径。
|
||||
# external-ui: /code/clash-dashboard
|
||||
|
805
tools/subconverter/base/GeneralClashConfig.yml
Normal file
805
tools/subconverter/base/GeneralClashConfig.yml
Normal file
@ -0,0 +1,805 @@
|
||||
#---------------------------------------------------#
|
||||
## 配置文件需要放置在 $HOME/.config/clash/config.yml
|
||||
## 或者运行目录下的config.yml
|
||||
#---------------------------------------------------#
|
||||
|
||||
# HTTP 代理端口
|
||||
port: 7890
|
||||
|
||||
# SOCKS5 代理端口
|
||||
socks-port: 7891
|
||||
|
||||
# Linux 和 macOS 的 redir 代理端口 (如需使用此功能,请取消注释)
|
||||
# redir-port: 7892
|
||||
|
||||
# 允许局域网的连接(可用来共享代理)
|
||||
allow-lan: true
|
||||
|
||||
# 仅在将allow-lan设置为true时适用
|
||||
# #"*": 绑定所有IP地址
|
||||
# #192.168.122.11: 绑定单个IPv4地址
|
||||
# #"[aaaa::a8aa:ff:fe09:57d8]": 绑定单个IPv6地址
|
||||
# bind-address: "*"
|
||||
|
||||
# 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连)
|
||||
mode: Rule
|
||||
|
||||
# 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
|
||||
# 5 个级别:silent / error / warning / info / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
|
||||
log-level: info
|
||||
|
||||
# Clash 的 RESTful API
|
||||
external-controller: '127.0.0.1:9090'
|
||||
|
||||
# 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `RESTful API/ui`
|
||||
# 参数应填写配置目录的相对路径或绝对路径。
|
||||
# http://127.0.0.1:9090/ui/#/
|
||||
# external-ui: folder
|
||||
# yacd面板: https://github.com/haishanh/yacd
|
||||
# Razord面板:http://clash.razord.top/#/proxies
|
||||
# external-ui: dashboard
|
||||
|
||||
# RESTful API 的口令 (可选)
|
||||
# secret: ""
|
||||
|
||||
# 实验性功能
|
||||
experimental:
|
||||
ignore-resolve-fail: true # 忽略 DNS 解析失败,默认值为 true
|
||||
# interface-name: en0 # outbound interface name
|
||||
|
||||
# 本地 SOCKS5 / HTTP(S) 服务认证
|
||||
# authentication:
|
||||
# - "user1:pass1"
|
||||
# - "user2:pass2"
|
||||
|
||||
# 实验性功能 hosts, 支持通配符 (例如 *.clash.dev 甚至 *.foo.*.example.com)
|
||||
# 静态的域名 比 通配域名 具有更高的优先级 (foo.example.com 优先于 *.example.com)
|
||||
# 注意: hosts 在 fake-ip 模式下不生效
|
||||
#hosts:
|
||||
# '*.clash.dev': 127.0.0.1
|
||||
# 'alpha.clash.dev': '::1'
|
||||
|
||||
#dns:
|
||||
#enable: true # 是否启用dns false
|
||||
#ipv6: false
|
||||
#listen: 0.0.0.0:53
|
||||
#enhanced-mode: redir-host # 模式:redir-host或fake-ip
|
||||
#fake-ip-range: 198.18.0.1/16 #
|
||||
#fake-ip-filter: # fake ip 白名单列表,如果你不知道这个参数的作用,请勿修改
|
||||
#- '*.lan'
|
||||
#- localhost.ptlogin2.qq.com
|
||||
#nameserver:
|
||||
#- 223.5.5.5 # 阿里DNS
|
||||
#- 180.76.76.76 # 百度DNS
|
||||
#- 119.29.29.29 # 腾讯DNS
|
||||
#- 117.50.11.11 # ONE DNS拦截版 恶意网站拦截、广告过滤
|
||||
#- 117.50.10.10 # ONE DNS纯净版 直接返回其真实的响应结果
|
||||
#- 114.114.114.114 # 114DNS
|
||||
#fallback:
|
||||
#- 8.8.8.8 # 谷歌DNS
|
||||
#- 1.1.1.1 # Cloudflare DNS
|
||||
#- tls://dns.rubyfish.cn:853
|
||||
#- tls://1.0.0.1:853
|
||||
#- tls://dns.google:853
|
||||
#- https://dns.rubyfish.cn/dns-query
|
||||
#- https://cloudflare-dns.com/dns-query
|
||||
#- https://dns.google/dns-query
|
||||
#fallback-filter:
|
||||
#geoip: true # 默认
|
||||
#ipcidr: # 在这个网段内的 IP 地址会被考虑为被污染的 IP
|
||||
#- 240.0.0.0/4
|
||||
|
||||
# 1. clash DNS 请求逻辑:
|
||||
# (1) 当访问一个域名时, nameserver 与 fallback 列表内的所有服务器并发请求,得到域名对应的 IP 地址。
|
||||
# (2) clash 将选取 nameserver 列表内,解析最快的结果。
|
||||
# (3) 若解析结果中,IP 地址属于 国外,那么 clash 将选择 fallback 列表内,解析最快的结果。
|
||||
#
|
||||
# 因此,我在 nameserver 和 fallback 内都放置了无污染、解析速度较快的国内 DNS 服务器,以达到最快的解析速度。
|
||||
# 但是 fallback 列表内服务器会用在解析境外网站,为了结果绝对无污染,我仅保留了支持 DoT/DoH 的两个服务器。
|
||||
#
|
||||
# 2. clash DNS 配置注意事项:
|
||||
# (1) 如果您为了确保 DNS 解析结果无污染,请仅保留列表内以 tls:// 或 https:// 开头的 DNS 服务器,但是通常对于国内域名没有必要。
|
||||
# (2) 如果您不在乎可能解析到污染的结果,更加追求速度。请将 nameserver 列表的服务器插入至 fallback 列表内,并移除重复项。
|
||||
#
|
||||
# 3. 关于 DNS over HTTPS (DoH) 和 DNS over TLS (DoT) 的选择:
|
||||
# 对于两项技术双方各执一词,而且会无休止的争论,各有利弊。各位请根据具体需求自行选择,但是配置文件内默认启用 DoT,因为目前国内没有封锁或管制。
|
||||
# DoH: 以 https:// 开头的 DNS 服务器。拥有更好的伪装性,且几乎不可能被运营商或网络管理封锁,但查询效率和安全性可能略低。
|
||||
# DoT: 以 tls:// 开头的 DNS 服务器。拥有更高的安全性和查询效率,但端口有可能被管制或封锁。
|
||||
# 若要了解更多关于 DoH/DoT 相关技术,请自行查阅规范文档。
|
||||
|
||||
# 代理组
|
||||
# 下面这3个不要引到订阅里去 要不会出错
|
||||
# Will be ignored after profile selection
|
||||
Proxy:
|
||||
- name: Shadowsocks
|
||||
type: socks5
|
||||
server: 127.0.0.1
|
||||
port: 1080
|
||||
Proxy Group:
|
||||
- name: Proxy
|
||||
type: select
|
||||
proxies:
|
||||
- Shadowsocks
|
||||
Rule:
|
||||
- 'MATCH,DIRECT'
|
||||
|
||||
# Clash for Windows
|
||||
# Proxies module latency test settings
|
||||
cfw-latency-timeout: 3000
|
||||
cfw-latency-url: http://www.gstatic.com/generate_204
|
||||
|
||||
# 打断连接
|
||||
# Identify strategy of breaking connections after switching to a new proxy/profile/mode
|
||||
# Options for proxy: none, chain(proxy group in connection chains), all
|
||||
# Options for profile: true, false
|
||||
# Options for mode: true, false
|
||||
cfw-conn-break-strategy:
|
||||
proxy: none # none/chain/all
|
||||
profile: true # true/false
|
||||
mode: false # true/false
|
||||
|
||||
# 定义状态栏图标
|
||||
#cfw-tray-icon:
|
||||
#default: .\resources\static\imgs\logo_64.png # 默认图标
|
||||
#system-proxy-on: .\resources\static\imgs\custom.ico # 开启系统代理后图标
|
||||
|
||||
# 子进程
|
||||
# Run child process after CFW started
|
||||
# Refer: https://docs.cfw.lbyczf.com/contents/childprocess.html
|
||||
#cfw-child-process:
|
||||
# 启动订阅转换程序,端口号7893
|
||||
#- command: "subconverter.exe" # run.cmd 程序名称 subconverter.exe -cfw >>logs/run.log 2>&1
|
||||
#args:
|
||||
#- "-cfw" # 运行参数1
|
||||
#- "-f" # 运行参数2
|
||||
#- "pref-acl4ssr.yml" # 运行参数3
|
||||
#options:
|
||||
#cwd: subconverter # 子进程工作目录
|
||||
#detached: true # 子进程独立于其父进程运行
|
||||
#shell: true # 则在 shell 中运行 command
|
||||
#windowsHide: true # 隐藏子进程的控制台窗口
|
||||
# 启动网易云,端口号3333
|
||||
#- command: "unblockneteasemusic.exe" # 启动网易云
|
||||
#args:
|
||||
#- "-p" # 运行参数1
|
||||
#- "3333" # 运行参数2
|
||||
#options:
|
||||
#cwd: unblockNeteaseMusic # 子进程工作目录
|
||||
#detached: true # 子进程独立于其父进程运行
|
||||
#shell: true # 则在 shell 中运行 command
|
||||
#windowsHide: true # 隐藏子进程的控制台窗口
|
||||
|
||||
# 系统代理跳过列表 cfw-bypass
|
||||
# System proxy will ignore these domains(or ipnet)
|
||||
# 系统代理跳过列表-备份的,不起作用,
|
||||
# 使用时可以将cfw-bypass-bak与cfw-bypass内容互换
|
||||
cfw-bypass-bak:
|
||||
# 原有字段不用删除
|
||||
- qq.com
|
||||
- 'music.163.com' # 网易云域名1
|
||||
- '*.music.126.net' # 网易云域名2
|
||||
- localhost
|
||||
- 127.*
|
||||
- 10.*
|
||||
- 172.16.*
|
||||
- 172.17.*
|
||||
- 172.18.*
|
||||
- 172.19.*
|
||||
- 172.20.*
|
||||
- 172.21.*
|
||||
- 172.22.*
|
||||
- 172.23.*
|
||||
- 172.24.*
|
||||
- 172.25.*
|
||||
- 172.26.*
|
||||
- 172.27.*
|
||||
- 172.28.*
|
||||
- 172.29.*
|
||||
- 172.30.*
|
||||
- 172.31.*
|
||||
- 192.168.*
|
||||
- <local>
|
||||
# 系统代理跳过列表 起作用的
|
||||
cfw-bypass:
|
||||
# 直连列表
|
||||
# MyList
|
||||
- "*.423down.com"
|
||||
- "*.bitwarden.com"
|
||||
- "*.chaipip.com"
|
||||
- "*.hrtsea.com"
|
||||
- "*.laomo.me"
|
||||
- "*.mpyit.com"
|
||||
# CN域名直连
|
||||
- "*.cn"
|
||||
- "*.中国"
|
||||
- "*.公司"
|
||||
- "*.网络"
|
||||
# 中国国内常见域名关键词直连
|
||||
- "*-cn*"
|
||||
- "*360buy*"
|
||||
- "*alicdn*"
|
||||
- "*alimama*"
|
||||
- "*alipay*"
|
||||
- "*appzapp*"
|
||||
- "*baidupcs*"
|
||||
- "*bilibili*"
|
||||
- "*ccgslb*"
|
||||
- "*chinacache*"
|
||||
- "*duobao*"
|
||||
- "*duolingo*"
|
||||
- "*jdpay*"
|
||||
- "*moke*"
|
||||
- "*qhimg*"
|
||||
- "*vpimg*"
|
||||
- "*xiami*"
|
||||
- "*xiaomi*"
|
||||
# 360
|
||||
- "*.360.com"
|
||||
- "*.360kuai.com"
|
||||
- "*.360safe.com"
|
||||
- "*.dhrest.com"
|
||||
- "*.qhres.com"
|
||||
- "*.qhstatic.com"
|
||||
- "*.qhupdate.com"
|
||||
- "*.so.com"
|
||||
# 4399
|
||||
- "*.4399.com"
|
||||
- "*.4399pk.com"
|
||||
- "*.5054399.com"
|
||||
- "*.img4399.com"
|
||||
# 58
|
||||
- "*.58.com"
|
||||
# Alibaba
|
||||
- "*.1688.com"
|
||||
- "*.aliapp.org"
|
||||
- "*.alibaba.com"
|
||||
- "*.alibabacloud.com"
|
||||
- "*.alibabausercontent.com"
|
||||
- "*.alicdn.com"
|
||||
- "*.aliexpress.com"
|
||||
- "*.aliimg.com"
|
||||
- "*.alikunlun.com"
|
||||
- "*.alipay.com"
|
||||
- "*.alipayobjects.com"
|
||||
- "*.alisoft.com"
|
||||
- "*.aliyun.com"
|
||||
- "*.aliyuncdn.com"
|
||||
- "*.aliyuncs.com"
|
||||
- "*.amap.com"
|
||||
- "*.autonavi.com"
|
||||
- "*.dingtalk.com"
|
||||
- "*.ele.me"
|
||||
- "*.hichina.com"
|
||||
- "*.mmstat.com"
|
||||
- "*.mxhichina.com"
|
||||
- "*.soku.com"
|
||||
- "*.taobao.com"
|
||||
- "*.taobaocdn.com"
|
||||
- "*.tbcache.com"
|
||||
- "*.tbcdn.com"
|
||||
- "*.tmall.com"
|
||||
- "*.tmall.hk"
|
||||
- "*.ucweb.com"
|
||||
- "*.xiami.com"
|
||||
- "*.xiami.net"
|
||||
- "*.ykimg.com"
|
||||
- "*.youku.com"
|
||||
# Baidu
|
||||
- "*.baidu.com"
|
||||
- "*.baidubcr.com"
|
||||
- "*.baidupcs.com"
|
||||
- "*.baidustatic.com"
|
||||
- "*.bcebos.com"
|
||||
- "*.bdimg.com"
|
||||
- "*.bdstatic.com"
|
||||
- "*.bdurl.net"
|
||||
- "*.hao123.com"
|
||||
- "*.hao123img.com"
|
||||
- "*.jomodns.com"
|
||||
- "*.yunjiasu-cdn.net"
|
||||
# Bilibili
|
||||
- "*.acg.tv"
|
||||
- "*.acgvideo.com"
|
||||
- "*.b23.tv"
|
||||
- "*.biliapi.com"
|
||||
- "*.biliapi.net"
|
||||
- "*.biligame.com"
|
||||
- "*.biligame.net"
|
||||
- "*.bilivideo.com"
|
||||
- "*.hdslb.com"
|
||||
- "*.im9.com"
|
||||
# Blizzard
|
||||
- "*.battle.net"
|
||||
- "*.battlenet.com"
|
||||
- "*.blizzard.com"
|
||||
# ByteDance
|
||||
- "*.bytedance.com"
|
||||
- "*.byteimg.com"
|
||||
- "*.feiliao.com"
|
||||
- "*.gifshow.com"
|
||||
- "*.huoshan.com"
|
||||
- "*.iesdouyin.com"
|
||||
- "*.ixigua.com"
|
||||
- "*.kaishou.com"
|
||||
- "*.kspkg.com"
|
||||
- "*.pstatp.com"
|
||||
- "*.snssdk.com"
|
||||
- "*.toutiao.com"
|
||||
- "*.yximgs.com"
|
||||
# CCTV
|
||||
- "*.cctv.com"
|
||||
- "*.cctvpic.com"
|
||||
- "*.livechina.com"
|
||||
# ChinaNet
|
||||
- "*.21cn.com"
|
||||
# DiDi
|
||||
- "*.didialift.com"
|
||||
- "*.didiglobal.com"
|
||||
- "*.udache.com"
|
||||
# Douyu 斗鱼
|
||||
- "*.douyu.com"
|
||||
- "*.douyu.tv"
|
||||
- "*.douyutv.com"
|
||||
# Epic
|
||||
- "*.epicgames.com"
|
||||
- "*.helpshift.com"
|
||||
- "*.paragon.com"
|
||||
- "*.unrealengine.com"
|
||||
# HuaWei
|
||||
- "*.dbankcdn.com"
|
||||
- "*.hc-cdn.com"
|
||||
- "*.hicloud.com"
|
||||
- "*.huawei.com"
|
||||
- "*.huaweicloud.com"
|
||||
- "*.huaweishop.net"
|
||||
- "*.hwccpc.com"
|
||||
- "*.vmall.com"
|
||||
- "*.vmallres.com"
|
||||
# Iflytek 科大讯飞
|
||||
- "*.iflyink.com"
|
||||
- "*.iflyrec.com"
|
||||
- "*.iflytek.com"
|
||||
# Iqiyi
|
||||
- "*.71.am"
|
||||
- "*.71edge.com"
|
||||
- "*.iqiyi.com"
|
||||
- "*.iqiyipic.com"
|
||||
- "*.ppsimg.com"
|
||||
- "*.qiyi.com"
|
||||
- "*.qiyipic.com"
|
||||
- "*.qy.net"
|
||||
# JD
|
||||
- "*.360buy.com"
|
||||
- "*.360buyimg.com"
|
||||
- "*.jcloudcs.com"
|
||||
- "*.jd.com"
|
||||
- "*.jd.hk"
|
||||
- "*.jdcloud.com"
|
||||
- "*.jdpay.com"
|
||||
- "*.paipai.com"
|
||||
# Kingsoft
|
||||
- "*.iciba.com"
|
||||
- "*.ksosoft.com"
|
||||
- "*.ksyun.com"
|
||||
# Meitu
|
||||
- "*.meitu.com"
|
||||
- "*.meitudata.com"
|
||||
- "*.meitustat.com"
|
||||
- "*.meipai.com"
|
||||
# LeTV 乐视
|
||||
- "*.le.com"
|
||||
- "*.lecloud.com"
|
||||
- "*.letv.com"
|
||||
- "*.letvcloud.com"
|
||||
- "*.letvimg.com"
|
||||
- "*.letvlive.com"
|
||||
- "*.letvstore.com"
|
||||
# MGTV 芒果TV
|
||||
- "*.hitv.com"
|
||||
- "*.hunantv.com"
|
||||
- "*.mgtv.com"
|
||||
# MI
|
||||
- "*.duokan.com"
|
||||
- "*.mi-img.com"
|
||||
- "*.mi.com"
|
||||
- "*.miui.com"
|
||||
- "*.miwifi.com"
|
||||
- "*.xiaomi.com"
|
||||
- "*.xiaomi.net"
|
||||
- "*.xiaomicp.com"
|
||||
# NetEase
|
||||
- "*.126.com"
|
||||
- "*.126.net"
|
||||
- "*.127.net"
|
||||
- "*.163.com"
|
||||
- "*.163yun.com"
|
||||
- "*.lofter.com"
|
||||
- "*.netease.com"
|
||||
- "*.ydstatic.com"
|
||||
- "*.youdao.com"
|
||||
# PPTV、PPLive
|
||||
- "*.pplive.com"
|
||||
- "*.pptv.com"
|
||||
# PDD 拼多多
|
||||
- "*.pinduoduo.com"
|
||||
- "*.yangkeduo.com"
|
||||
# Sina
|
||||
- "*.leju.com"
|
||||
- "*.miaopai.com"
|
||||
- "*.sina.com"
|
||||
- "*.sinaapp.com"
|
||||
- "*.sinaimg.com"
|
||||
- "*.weibo.com"
|
||||
- "*.weibocdn.com"
|
||||
- "*.xiaoka.tv"
|
||||
# Sohu Sogo
|
||||
- "*.go2map.com"
|
||||
- "*.sogo.com"
|
||||
- "*.sogou.com"
|
||||
- "*.sogoucdn.com"
|
||||
- "*.sohu-inc.com"
|
||||
- "*.sohu.com"
|
||||
- "*.sohucs.com"
|
||||
- "*.sohuno.com"
|
||||
- "*.sohurdc.com"
|
||||
- "*.v-56.com"
|
||||
# Sony
|
||||
- "*.playstation.com"
|
||||
- "*.playstation.net"
|
||||
- "*.playstationnetwork.com"
|
||||
- "*.sony.com"
|
||||
- "*.sonyentertainmentnetwork.com"
|
||||
# Spark
|
||||
- "*.amplitude.com"
|
||||
- "*.firebaseio.com"
|
||||
- "*.hockeyapp.net"
|
||||
- "*.smartmailcloud.com"
|
||||
# Steam
|
||||
- "*.steampowered.com"
|
||||
- "*.steam-chat.com"
|
||||
- "*.steamgames.com"
|
||||
- "*.steamusercontent.com"
|
||||
- "*.steamcontent.com"
|
||||
- "*.steamstatic.com"
|
||||
- "*.steamcdn-a.akamaihd.net"
|
||||
- "*.steamstat.us"
|
||||
# Tencent
|
||||
- "*.foxmail.com"
|
||||
- "*.gtimg.com"
|
||||
- "*.idqqimg.com"
|
||||
- "*.igamecj.com"
|
||||
- "*.myapp.com"
|
||||
- "*.myqcloud.com"
|
||||
- "*.qq.com"
|
||||
- "*.qqmail.com"
|
||||
- "*.qqurl.com"
|
||||
- "*.smtcdns.com"
|
||||
- "*.smtcdns.net"
|
||||
- "*.soso.com"
|
||||
- "*.tencent-cloud.net"
|
||||
- "*.tencent.com"
|
||||
- "*.tencentmind.com"
|
||||
- "*.tenpay.com"
|
||||
- "*.weixin.com"
|
||||
- "*.weiyun.com"
|
||||
# Vip 唯品会
|
||||
- "*.appsimg.com"
|
||||
- "*.appvipshop.com"
|
||||
- "*.vip.com"
|
||||
- "*.vipstatic.com"
|
||||
# Ximalaya 喜马拉雅
|
||||
- "*.ximalaya.com"
|
||||
- "*.xmcdn.com"
|
||||
# YYeTs 人人影视
|
||||
- "*.got001.com"
|
||||
- "*.jstucdn.com"
|
||||
- "*.zimuzu.io"
|
||||
- "*.zimuzu.tv"
|
||||
- "*.zmz001.com"
|
||||
- "*.zmz002.com"
|
||||
- "*.zmz003.com"
|
||||
- "*.zmz004.com"
|
||||
- "*.zmz2019.com"
|
||||
- "*.zmzapi.com"
|
||||
- "*.zmzapi.net"
|
||||
- "*.zmzfile.com"
|
||||
# Private Tracker
|
||||
- "*.awesome-hd.me"
|
||||
- "*.beitai.pt"
|
||||
- "*.bittorrent.com"
|
||||
- "*.broadcasthe.net"
|
||||
- "*.chdbits.co"
|
||||
- "*.classix-unlimited.co.uk"
|
||||
- "*.empornium.me"
|
||||
- "*.gazellegames.net"
|
||||
- "*.hdchina.org"
|
||||
- "*.hdsky.me"
|
||||
- "*.hdtime.org"
|
||||
- "*.icetorrent.org"
|
||||
- "*.jpopsuki.eu"
|
||||
- "*.keepfrds.com"
|
||||
- "*.leaguehd.com"
|
||||
- "*.m-team.cc"
|
||||
- "*.madsrevolution.net"
|
||||
- "*.msg.vg"
|
||||
- "*.nanyangpt.com"
|
||||
- "*.ncore.cc"
|
||||
- "*.open.cd"
|
||||
- "*.ourbits.club"
|
||||
- "*.passthepopcorn.me"
|
||||
- "*.privatehd.to"
|
||||
- "*.pthome.net"
|
||||
- "*.redacted.ch"
|
||||
- "*.springsunday.net"
|
||||
- "*.tjupt.org"
|
||||
- "*.totheglory.im"
|
||||
# TeamViewer
|
||||
- "*.teamviewer.com"
|
||||
# Public Direct CDN 公共直连cdn
|
||||
- "*.baomitu.com"
|
||||
- "*.bootcss.com"
|
||||
- "*.jiasule.com"
|
||||
- "*.jsdelivr.net"
|
||||
- "*.staticfile.org"
|
||||
- "*.upaiyun.com"
|
||||
# Acceleratedirectsites
|
||||
- "*.12306.com"
|
||||
- "*.17173.com"
|
||||
- "*.17k.com"
|
||||
- "*.360doc.com"
|
||||
- "*.36kr.com"
|
||||
- "*.3dmgame.com"
|
||||
- "*.51cto.com"
|
||||
- "*.51job.com"
|
||||
- "*.51jobcdn.com"
|
||||
- "*.56.com"
|
||||
- "*.8686c.com"
|
||||
- "*.abchina.com"
|
||||
- "*.abercrombie.com"
|
||||
- "*.acfun.tv"
|
||||
- "*.air-matters.com"
|
||||
- "*.air-matters.io"
|
||||
- "*.aixifan.com"
|
||||
- "*.algocasts.io"
|
||||
- "*.babytree.com"
|
||||
- "*.babytreeimg.com"
|
||||
- "*.baicizhan.com"
|
||||
- "*.baidupan.com"
|
||||
- "*.baike.com"
|
||||
- "*.biqudu.com"
|
||||
- "*.biquge.com"
|
||||
- "*.bitauto.com"
|
||||
- "*.c-ctrip.com"
|
||||
- "*.camera360.com"
|
||||
- "*.cdnmama.com"
|
||||
- "*.che168.com"
|
||||
- "*.chinacache.net"
|
||||
- "*.chinaso.com"
|
||||
- "*.chinaz.com"
|
||||
- "*.chinaz.net"
|
||||
- "*.chuimg.com"
|
||||
- "*.cibntv.net"
|
||||
- "*.clouddn.com"
|
||||
- "*.cloudxns.net"
|
||||
- "*.cn163.net"
|
||||
- "*.cnbeta.com"
|
||||
- "*.cnbetacdn.com"
|
||||
- "*.cnblogs.com"
|
||||
- "*.cnki.net"
|
||||
- "*.cnmstl.net"
|
||||
- "*.coolapk.com"
|
||||
- "*.coolapkmarket.com"
|
||||
- "*.csdn.net"
|
||||
- "*.ctrip.com"
|
||||
- "*.dangdang.com"
|
||||
- "*.dfcfw.com"
|
||||
- "*.dianping.com"
|
||||
- "*.dilidili.wang"
|
||||
- "*.douban.com"
|
||||
- "*.doubanio.com"
|
||||
- "*.dpfile.com"
|
||||
- "*.duowan.com"
|
||||
- "*.dxycdn.com"
|
||||
- "*.dytt8.net"
|
||||
- "*.easou.com"
|
||||
- "*.eastday.com"
|
||||
- "*.eastmoney.com"
|
||||
- "*.ecitic.com"
|
||||
- "*.ewqcxz.com"
|
||||
- "*.fang.com"
|
||||
- "*.fantasy.tv"
|
||||
- "*.feng.com"
|
||||
- "*.fengkongcloud.com"
|
||||
- "*.fir.im"
|
||||
- "*.frdic.com"
|
||||
- "*.fresh-ideas.cc"
|
||||
- "*.ganji.com"
|
||||
- "*.ganjistatic1.com"
|
||||
- "*.geetest.com"
|
||||
- "*.geilicdn.com"
|
||||
- "*.godic.net"
|
||||
- "*.gravatar.com"
|
||||
- "*.guazi.com"
|
||||
- "*.gwdang.com"
|
||||
- "*.gzlzfm.com"
|
||||
- "*.haibian.com"
|
||||
- "*.haosou.com"
|
||||
- "*.hollisterco.com"
|
||||
- "*.hongxiu.com"
|
||||
- "*.huajiao.com"
|
||||
- "*.hupu.com"
|
||||
- "*.huxiucdn.com"
|
||||
- "*.huya.com"
|
||||
- "*.ifeng.com"
|
||||
- "*.ifengimg.com"
|
||||
- "*.images-amazon.com"
|
||||
- "*.infzm.com"
|
||||
- "*.ipip.net"
|
||||
- "*.it168.com"
|
||||
- "*.ithome.com"
|
||||
- "*.ixdzs.com"
|
||||
- "*.jianguoyun.com"
|
||||
- "*.jianshu.com"
|
||||
- "*.jianshu.io"
|
||||
- "*.jianshuapi.com"
|
||||
- "*.jiathis.com"
|
||||
- "*.jmstatic.com"
|
||||
- "*.jumei.com"
|
||||
- "*.kanimg.com"
|
||||
- "*.kankan.com"
|
||||
- "*.kaola.com"
|
||||
- "*.knewone.com"
|
||||
- "*.koowo.com"
|
||||
- "*.ksyungslb.com"
|
||||
- "*.kuaidi100.com"
|
||||
- "*.kugou.com"
|
||||
- "*.lancdns.com"
|
||||
- "*.landiannews.com"
|
||||
- "*.lanzou.com"
|
||||
- "*.lemicp.com"
|
||||
- "*.letitfly.me"
|
||||
- "*.linkedin.com"
|
||||
- "*.lizhi.fm"
|
||||
- "*.lizhi.io"
|
||||
- "*.lizhifm.com"
|
||||
- "*.loli.net"
|
||||
- "*.luoo.net"
|
||||
- "*.lvmama.com"
|
||||
- "*.lxdns.com"
|
||||
- "*.maoyan.com"
|
||||
- "*.meilishuo.com"
|
||||
- "*.meituan.com"
|
||||
- "*.meituan.net"
|
||||
- "*.meizu.com"
|
||||
- "*.miguvideo.com"
|
||||
- "*.mobike.com"
|
||||
- "*.mogu.com"
|
||||
- "*.mogucdn.com"
|
||||
- "*.mogujie.com"
|
||||
- "*.moji.com"
|
||||
- "*.moke.com"
|
||||
- "*.mubu.com"
|
||||
- "*.myunlu.com"
|
||||
- "*.nruan.com"
|
||||
- "*.nuomi.com"
|
||||
- "*.onlinedown.net"
|
||||
- "*.oracle.com"
|
||||
- "*.oschina.net"
|
||||
- "*.ourdvs.com"
|
||||
- "*.overcast.fm"
|
||||
- "*.paypal.com"
|
||||
- "*.polyv.net"
|
||||
- "*.qbox.me"
|
||||
- "*.qcloud.com"
|
||||
- "*.qcloudcdn.com"
|
||||
- "*.qdaily.com"
|
||||
- "*.qdmm.com"
|
||||
- "*.qhimg.com"
|
||||
- "*.qianqian.com"
|
||||
- "*.qidian.com"
|
||||
- "*.qihucdn.com"
|
||||
- "*.qin.io"
|
||||
- "*.qiniu.com"
|
||||
- "*.qiniucdn.com"
|
||||
- "*.qiniudn.com"
|
||||
- "*.qiushibaike.com"
|
||||
- "*.quanmin.tv"
|
||||
- "*.qunar.com"
|
||||
- "*.qunarzz.com"
|
||||
- "*.rarbg.to"
|
||||
- "*.repaik.com"
|
||||
- "*.rrmj.tv"
|
||||
- "*.ruguoapp.com"
|
||||
- "*.runoob.com"
|
||||
- "*.sandai.net"
|
||||
- "*.sankuai.com"
|
||||
- "*.segmentfault.com"
|
||||
- "*.sf-express.com"
|
||||
- "*.shumilou.net"
|
||||
- "*.simplecd.me"
|
||||
- "*.sm.ms"
|
||||
- "*.smzdm.com"
|
||||
- "*.snwx.com"
|
||||
- "*.soufunimg.com"
|
||||
- "*.ssl-images-amazon.com"
|
||||
- "*.sspai.com"
|
||||
- "*.startssl.com"
|
||||
- "*.suning.com"
|
||||
- "*.taihe.com"
|
||||
- "*.th-sjy.com"
|
||||
- "*.tianqi.com"
|
||||
- "*.tianqistatic.com"
|
||||
- "*.tianyancha.com"
|
||||
- "*.tianyaui.com"
|
||||
- "*.tietuku.com"
|
||||
- "*.tiexue.net"
|
||||
- "*.tmiaoo.com"
|
||||
- "*.trip.com"
|
||||
- "*.ttmeiju.com"
|
||||
- "*.tudou.com"
|
||||
- "*.tuniu.com"
|
||||
- "*.tuniucdn.com"
|
||||
- "*.umengcloud.com"
|
||||
- "*.upyun.com"
|
||||
- "*.uxengine.net"
|
||||
- "*.videocc.net"
|
||||
- "*.vmware.com"
|
||||
- "*.wandoujia.com"
|
||||
- "*.weather.com"
|
||||
- "*.weico.cc"
|
||||
- "*.weidian.com"
|
||||
- "*.weiphone.com"
|
||||
- "*.weiphone.net"
|
||||
- "*.womai.com"
|
||||
- "*.wscdns.com"
|
||||
- "*.xdrig.com"
|
||||
- "*.xhscdn.com"
|
||||
- "*.xiachufang.com"
|
||||
- "*.xiaohongshu.com"
|
||||
- "*.xiaojukeji.com"
|
||||
- "*.xinhuanet.com"
|
||||
- "*.xitek.com"
|
||||
- "*.xiumi.us"
|
||||
- "*.xslb.net"
|
||||
- "*.xueqiu.com"
|
||||
- "*.xunlei.com"
|
||||
- "*.yach.me"
|
||||
- "*.yeepay.com"
|
||||
- "*.yhd.com"
|
||||
- "*.yihaodianimg.com"
|
||||
- "*.yinxiang.com"
|
||||
- "*.yinyuetai.com"
|
||||
- "*.yixia.com"
|
||||
- "*.ys168.com"
|
||||
- "*.yuewen.com"
|
||||
- "*.yy.com"
|
||||
- "*.yystatic.com"
|
||||
- "*.zealer.com"
|
||||
- "*.zhangzishi.cc"
|
||||
- "*.zhanqi.tv"
|
||||
- "*.zhaopin.com"
|
||||
- "*.zhihu.com"
|
||||
- "*.zhimg.com"
|
||||
- "*.zhongsou.com"
|
||||
- "*.zhuihd.com"
|
||||
- "localhost"
|
||||
- 127.*
|
||||
- 10.*
|
||||
- 172.16.*
|
||||
- 172.17.*
|
||||
- 172.18.*
|
||||
- 172.19.*
|
||||
- 172.20.*
|
||||
- 172.21.*
|
||||
- 172.22.*
|
||||
- 172.23.*
|
||||
- 172.24.*
|
||||
- 172.25.*
|
||||
- 172.26.*
|
||||
- 172.27.*
|
||||
- 172.28.*
|
||||
- 172.29.*
|
||||
- 172.30.*
|
||||
- 172.31.*
|
||||
- 192.168.*
|
||||
- <local>
|
205
tools/subconverter/base/all_base.tpl
Normal file
205
tools/subconverter/base/all_base.tpl
Normal file
@ -0,0 +1,205 @@
|
||||
{% if request.target == "clash" or request.target == "clashr" %}
|
||||
|
||||
port: {{ default(global.clash.http_port, "7890") }}
|
||||
socks-port: {{ default(global.clash.socks_port, "7891") }}
|
||||
allow-lan: {{ default(global.clash.allow_lan, "true") }}
|
||||
mode: Rule
|
||||
log-level: {{ default(global.clash.log_level, "info") }}
|
||||
external-controller: :9090
|
||||
{% if default(request.clash.dns, "") == "1" %}
|
||||
dns:
|
||||
enable: true
|
||||
listen: :1053
|
||||
{% endif %}
|
||||
{% if local.clash.new_field_name == "true" %}
|
||||
proxies: ~
|
||||
proxy-groups: ~
|
||||
rules: ~
|
||||
{% else %}
|
||||
Proxy: ~
|
||||
Proxy Group: ~
|
||||
Rule: ~
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "surge" %}
|
||||
|
||||
[General]
|
||||
loglevel = notify
|
||||
bypass-system = true
|
||||
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,localhost,*.local,e.crashlytics.com,captive.apple.com,::ffff:0:0:0:0/1,::ffff:128:0:0:0/1
|
||||
#DNS设置或根据自己网络情况进行相应设置
|
||||
bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12
|
||||
dns-server = 119.29.29.29,223.5.5.5
|
||||
|
||||
[Script]
|
||||
http-request https?:\/\/.*\.iqiyi\.com\/.*authcookie= script-path=https://raw.githubusercontent.com/NobyDa/Script/master/iQIYI-DailyBonus/iQIYI.js
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "loon" %}
|
||||
|
||||
[General]
|
||||
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,223.5.5.5
|
||||
allow-udp-proxy = false
|
||||
host = 127.0.0.1
|
||||
|
||||
[Proxy]
|
||||
|
||||
[Remote Proxy]
|
||||
|
||||
[Proxy Group]
|
||||
|
||||
[Rule]
|
||||
|
||||
[Remote Rule]
|
||||
|
||||
[URL Rewrite]
|
||||
enable = true
|
||||
^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
|
||||
|
||||
[Remote Rewrite]
|
||||
https://raw.githubusercontent.com/Loon0x00/LoonExampleConfig/master/Rewrite/AutoRewrite_Example.list,auto
|
||||
|
||||
[MITM]
|
||||
hostname = *.example.com,*.sample.com
|
||||
enable = true
|
||||
skip-server-cert-verify = true
|
||||
#ca-p12 =
|
||||
#ca-passphrase =
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "quan" %}
|
||||
|
||||
[SERVER]
|
||||
|
||||
[SOURCE]
|
||||
|
||||
[BACKUP-SERVER]
|
||||
|
||||
[SUSPEND-SSID]
|
||||
|
||||
[POLICY]
|
||||
|
||||
[DNS]
|
||||
1.1.1.1
|
||||
|
||||
[REWRITE]
|
||||
|
||||
[URL-REJECTION]
|
||||
|
||||
[TCP]
|
||||
|
||||
[GLOBAL]
|
||||
|
||||
[HOST]
|
||||
|
||||
[STATE]
|
||||
STATE,AUTO
|
||||
|
||||
[MITM]
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "quanx" %}
|
||||
|
||||
[general]
|
||||
excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8
|
||||
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js
|
||||
network_check_url=http://www.baidu.com/
|
||||
server_check_url=http://www.gstatic.com/generate_204
|
||||
|
||||
[dns]
|
||||
server=119.29.29.29
|
||||
server=223.5.5.5
|
||||
server=1.0.0.1
|
||||
server=8.8.8.8
|
||||
|
||||
[policy]
|
||||
static=♻️ 自动选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png
|
||||
static=🔰 节点选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Proxy.png
|
||||
static=🌍 国外媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/GlobalMedia.png
|
||||
static=🌏 国内媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png
|
||||
static=Ⓜ️ 微软服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Microsoft.png
|
||||
static=📲 电报信息, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png
|
||||
static=🍎 苹果服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png
|
||||
static=🎯 全球直连, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Direct.png
|
||||
static=🛑 全球拦截, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Advertising.png
|
||||
static=🐟 漏网之鱼, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
|
||||
|
||||
[server_remote]
|
||||
|
||||
[filter_remote]
|
||||
|
||||
[rewrite_remote]
|
||||
|
||||
[server_local]
|
||||
|
||||
[filter_local]
|
||||
|
||||
[rewrite_local]
|
||||
|
||||
[mitm]
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "mellow" %}
|
||||
|
||||
[Endpoint]
|
||||
DIRECT, builtin, freedom, domainStrategy=UseIP
|
||||
REJECT, builtin, blackhole
|
||||
Dns-Out, builtin, dns
|
||||
|
||||
[Routing]
|
||||
domainStrategy = IPIfNonMatch
|
||||
|
||||
[Dns]
|
||||
hijack = Dns-Out
|
||||
clientIp = 114.114.114.114
|
||||
|
||||
[DnsServer]
|
||||
localhost
|
||||
223.5.5.5
|
||||
8.8.8.8, 53, Remote
|
||||
8.8.4.4
|
||||
|
||||
[DnsRule]
|
||||
DOMAIN-KEYWORD, geosite:geolocation-!cn, Remote
|
||||
DOMAIN-SUFFIX, google.com, Remote
|
||||
|
||||
[DnsHost]
|
||||
doubleclick.net = 127.0.0.1
|
||||
|
||||
[Log]
|
||||
loglevel = warning
|
||||
|
||||
{% endif %}
|
||||
{% if request.target == "surfboard" %}
|
||||
|
||||
[General]
|
||||
loglevel = notify
|
||||
interface = 127.0.0.1
|
||||
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, localhost, *.local
|
||||
ipv6 = false
|
||||
dns-server = system, 223.5.5.5
|
||||
exclude-simple-hostnames = true
|
||||
enhanced-mode-by-rule = true
|
||||
{% endif %}
|
||||
{% if request.target == "sssub" %}
|
||||
{
|
||||
"route": "bypass-lan-china",
|
||||
"remote_dns": "dns.google",
|
||||
"ipv6": false,
|
||||
"metered": false,
|
||||
"proxy_apps": {
|
||||
"enabled": false,
|
||||
"bypass": true,
|
||||
"android_list": [
|
||||
"com.eg.android.AlipayGphone",
|
||||
"com.wudaokou.hippo",
|
||||
"com.zhihu.android"
|
||||
]
|
||||
},
|
||||
"udpdns": false
|
||||
}
|
||||
|
||||
{% endif %}
|
17
tools/subconverter/base/clash_provider_test.yml
Normal file
17
tools/subconverter/base/clash_provider_test.yml
Normal file
@ -0,0 +1,17 @@
|
||||
mixed-port: 7890
|
||||
allow-lan: true
|
||||
mode: Rule
|
||||
log-level: info
|
||||
external-controller: 127.0.0.1:9090
|
||||
proxy-providers:
|
||||
HK:
|
||||
type: http
|
||||
path: proxy-providers/HK.yaml
|
||||
url: {{ getLink("/sub?target=clash&list=true&include=HK&url=https%3A%2F%2Fexample.com%2Fsubscription") }}
|
||||
interval: 86400
|
||||
health-check:
|
||||
enable: true
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 300
|
||||
rule-providers: ~
|
||||
rules: ~
|
2876
tools/subconverter/base/forcerule.yml
Normal file
2876
tools/subconverter/base/forcerule.yml
Normal file
File diff suppressed because it is too large
Load Diff
30
tools/subconverter/base/loon.conf
Normal file
30
tools/subconverter/base/loon.conf
Normal file
@ -0,0 +1,30 @@
|
||||
[General]
|
||||
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,223.5.5.5
|
||||
allow-udp-proxy = false
|
||||
host = 127.0.0.1
|
||||
|
||||
[Proxy]
|
||||
|
||||
[Remote Proxy]
|
||||
|
||||
[Proxy Group]
|
||||
|
||||
[Rule]
|
||||
|
||||
[Remote Rule]
|
||||
|
||||
[URL Rewrite]
|
||||
enable = true
|
||||
^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
|
||||
|
||||
[Remote Rewrite]
|
||||
https://raw.githubusercontent.com/Loon0x00/LoonExampleConfig/master/Rewrite/AutoRewrite_Example.list,auto
|
||||
|
||||
[MITM]
|
||||
hostname = *.example.com,*.sample.com
|
||||
enable = true
|
||||
skip-server-cert-verify = true
|
||||
#ca-p12 =
|
||||
#ca-passphrase =
|
27
tools/subconverter/base/mellow.conf
Normal file
27
tools/subconverter/base/mellow.conf
Normal file
@ -0,0 +1,27 @@
|
||||
[Endpoint]
|
||||
DIRECT, builtin, freedom, domainStrategy=UseIP
|
||||
REJECT, builtin, blackhole
|
||||
Dns-Out, builtin, dns
|
||||
|
||||
[Routing]
|
||||
domainStrategy = IPIfNonMatch
|
||||
|
||||
[Dns]
|
||||
hijack = Dns-Out
|
||||
clientIp = 114.114.114.114
|
||||
|
||||
[DnsServer]
|
||||
localhost
|
||||
223.5.5.5
|
||||
8.8.8.8, 53, Remote
|
||||
8.8.4.4
|
||||
|
||||
[DnsRule]
|
||||
DOMAIN-KEYWORD, geosite:geolocation-!cn, Remote
|
||||
DOMAIN-SUFFIX, google.com, Remote
|
||||
|
||||
[DnsHost]
|
||||
doubleclick.net = 127.0.0.1
|
||||
|
||||
[Log]
|
||||
loglevel = warning
|
27
tools/subconverter/base/quan.conf
Normal file
27
tools/subconverter/base/quan.conf
Normal file
@ -0,0 +1,27 @@
|
||||
[SERVER]
|
||||
|
||||
[SOURCE]
|
||||
|
||||
[BACKUP-SERVER]
|
||||
|
||||
[SUSPEND-SSID]
|
||||
|
||||
[POLICY]
|
||||
|
||||
[DNS]
|
||||
1.1.1.1
|
||||
|
||||
[REWRITE]
|
||||
|
||||
[URL-REJECTION]
|
||||
|
||||
[TCP]
|
||||
|
||||
[GLOBAL]
|
||||
|
||||
[HOST]
|
||||
|
||||
[STATE]
|
||||
STATE,AUTO
|
||||
|
||||
[MITM]
|
37
tools/subconverter/base/quanx.conf
Normal file
37
tools/subconverter/base/quanx.conf
Normal file
@ -0,0 +1,37 @@
|
||||
[general]
|
||||
excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8
|
||||
geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js
|
||||
network_check_url=http://www.baidu.com/
|
||||
server_check_url=http://www.gstatic.com/generate_204
|
||||
|
||||
[dns]
|
||||
server=119.29.29.29
|
||||
server=223.5.5.5
|
||||
server=1.0.0.1
|
||||
server=8.8.8.8
|
||||
|
||||
[policy]
|
||||
static=♻️ 自动选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png
|
||||
static=🔰 节点选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Proxy.png
|
||||
static=🌍 国外媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/GlobalMedia.png
|
||||
static=🌏 国内媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png
|
||||
static=Ⓜ️ 微软服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Microsoft.png
|
||||
static=📲 电报信息, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png
|
||||
static=🍎 苹果服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png
|
||||
static=🎯 全球直连, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Direct.png
|
||||
static=🛑 全球拦截, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Advertising.png
|
||||
static=🐟 漏网之鱼, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
|
||||
|
||||
[server_remote]
|
||||
|
||||
[filter_remote]
|
||||
|
||||
[rewrite_remote]
|
||||
|
||||
[server_local]
|
||||
|
||||
[filter_local]
|
||||
|
||||
[rewrite_local]
|
||||
|
||||
[mitm]
|
16
tools/subconverter/base/shadowsocks_base.json
Normal file
16
tools/subconverter/base/shadowsocks_base.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"route": "bypass-lan-china",
|
||||
"remote_dns": "dns.google",
|
||||
"ipv6": false,
|
||||
"metered": false,
|
||||
"proxy_apps": {
|
||||
"enabled": false,
|
||||
"bypass": true,
|
||||
"android_list": [
|
||||
"com.eg.android.AlipayGphone",
|
||||
"com.wudaokou.hippo",
|
||||
"com.zhihu.android"
|
||||
]
|
||||
},
|
||||
"udpdns": false
|
||||
}
|
9
tools/subconverter/base/simple_base.yml
Normal file
9
tools/subconverter/base/simple_base.yml
Normal file
@ -0,0 +1,9 @@
|
||||
port: 7890
|
||||
socks-port: 7891
|
||||
allow-lan: true
|
||||
mode: Rule
|
||||
log-level: info
|
||||
external-controller: 127.0.0.1:9090
|
||||
Proxy: ~
|
||||
Proxy Group: ~
|
||||
Rule: ~
|
8
tools/subconverter/base/surfboard.conf
Normal file
8
tools/subconverter/base/surfboard.conf
Normal file
@ -0,0 +1,8 @@
|
||||
[General]
|
||||
loglevel = notify
|
||||
interface = 127.0.0.1
|
||||
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, localhost, *.local
|
||||
ipv6 = false
|
||||
dns-server = system, 223.5.5.5
|
||||
exclude-simple-hostnames = true
|
||||
enhanced-mode-by-rule = true
|
7
tools/subconverter/base/surge.conf
Normal file
7
tools/subconverter/base/surge.conf
Normal file
@ -0,0 +1,7 @@
|
||||
[General]
|
||||
loglevel = notify
|
||||
bypass-system = true
|
||||
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,localhost,*.local,e.crashlytics.com,captive.apple.com,::ffff:0:0:0:0/1,::ffff:128:0:0:0/1
|
||||
#DNS设置或根据自己网络情况进行相应设置
|
||||
bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12
|
||||
dns-server = 119.29.29.29,223.5.5.5
|
38
tools/subconverter/config/ACL4SSR.ini
Normal file
38
tools/subconverter/config/ACL4SSR.ini
Normal file
@ -0,0 +1,38 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,rules/ACL4SSR/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
42
tools/subconverter/config/ACL4SSR_AdblockPlus.ini
Normal file
42
tools/subconverter/config/ACL4SSR_AdblockPlus.ini
Normal file
@ -0,0 +1,42 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🆎 AdBlock,rules/ACL4SSR/Clash/BanEasyList.list
|
||||
ruleset=🆎 AdBlock,rules/ACL4SSR/Clash/BanEasyListChina.list
|
||||
ruleset=🆎 AdBlock,rules/ACL4SSR/Clash/BanEasyPrivacy.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,rules/ACL4SSR/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🆎 AdBlock`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
31
tools/subconverter/config/ACL4SSR_BackCN.ini
Normal file
31
tools/subconverter/config/ACL4SSR_BackCN.ini
Normal file
@ -0,0 +1,31 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则 (流量回国)
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ProxyGFWlist.list
|
||||
ruleset=🚀 中国代理,rules/ACL4SSR/Clash/ChinaIp.list
|
||||
ruleset=🚀 中国代理,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🚀 中国代理,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🚀 中国代理,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 中国代理`select`[]DIRECT`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 中国代理
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 中国代理`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
31
tools/subconverter/config/ACL4SSR_Mini.ini
Normal file
31
tools/subconverter/config/ACL4SSR_Mini.ini
Normal file
@ -0,0 +1,31 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
32
tools/subconverter/config/ACL4SSR_Mini_Fallback.ini
Normal file
32
tools/subconverter/config/ACL4SSR_Mini_Fallback.ini
Normal file
@ -0,0 +1,32 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`[]🔯 故障转移`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
33
tools/subconverter/config/ACL4SSR_Mini_MultiMode.ini
Normal file
33
tools/subconverter/config/ACL4SSR_Mini_MultiMode.ini
Normal file
@ -0,0 +1,33 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🔮 负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
30
tools/subconverter/config/ACL4SSR_Mini_NoAuto.ini
Normal file
30
tools/subconverter/config/ACL4SSR_Mini_NoAuto.ini
Normal file
@ -0,0 +1,30 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]DIRECT`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
37
tools/subconverter/config/ACL4SSR_NoApple.ini
Normal file
37
tools/subconverter/config/ACL4SSR_NoApple.ini
Normal file
@ -0,0 +1,37 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,rules/ACL4SSR/Clash/Microsoft.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
37
tools/subconverter/config/ACL4SSR_NoAuto.ini
Normal file
37
tools/subconverter/config/ACL4SSR_NoAuto.ini
Normal file
@ -0,0 +1,37 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,rules/ACL4SSR/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]DIRECT`.*
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
36
tools/subconverter/config/ACL4SSR_NoAuto_NoApple.ini
Normal file
36
tools/subconverter/config/ACL4SSR_NoAuto_NoApple.ini
Normal file
@ -0,0 +1,36 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,rules/ACL4SSR/Clash/Microsoft.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]DIRECT`.*
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
@ -0,0 +1,34 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]DIRECT`.*
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
36
tools/subconverter/config/ACL4SSR_NoMicrosoft.ini
Normal file
36
tools/subconverter/config/ACL4SSR_NoMicrosoft.ini
Normal file
@ -0,0 +1,36 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/LocalAreaNetwork.list
|
||||
ruleset=🛑 全球拦截,rules/ACL4SSR/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,rules/ACL4SSR/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/GoogleCN.list
|
||||
ruleset=🍎 苹果服务,rules/ACL4SSR/Clash/Apple.list
|
||||
ruleset=📲 电报信息,rules/ACL4SSR/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,rules/ACL4SSR/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,rules/ACL4SSR/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,rules/ACL4SSR/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
42
tools/subconverter/config/ACL4SSR_Online.ini
Normal file
42
tools/subconverter/config/ACL4SSR_Online.ini
Normal file
@ -0,0 +1,42 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线更新版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报信息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
46
tools/subconverter/config/ACL4SSR_Online_AdblockPlus.ini
Normal file
46
tools/subconverter/config/ACL4SSR_Online_AdblockPlus.ini
Normal file
@ -0,0 +1,46 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线更新版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🆎 AdBlock,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyList.list
|
||||
ruleset=🆎 AdBlock,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyListChina.list
|
||||
ruleset=🆎 AdBlock,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyPrivacy.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报信息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
custom_proxy_group=📲 电报信息`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]🎯 全球直连`[]🚀 节点选择`.*
|
||||
custom_proxy_group=🍎 苹果服务`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🆎 AdBlock`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
78
tools/subconverter/config/ACL4SSR_Online_Full.ini
Normal file
78
tools/subconverter/config/ACL4SSR_Online_Full.ini
Normal file
@ -0,0 +1,78 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]♻️ 自动选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
custom_proxy_group=🇨🇳 台湾节点`url-test`(台|新北|彰化|TW|Taiwan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇸🇬 狮城节点`url-test`(新加坡|坡|狮城|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇰🇷 韩国节点`url-test`(KR|Korea|KOR|首尔|韩|韓)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
@ -0,0 +1,85 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🆎 AdBlock,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyList.list
|
||||
ruleset=🆎 AdBlock,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyListChina.list
|
||||
ruleset=🛡️ 隐私防护,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyPrivacy.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔮 负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🆎 AdBlock`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🛡️ 隐私防护`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]♻️ 自动选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
custom_proxy_group=🇨🇳 台湾节点`url-test`(台|新北|彰化|TW|Taiwan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇸🇬 狮城节点`url-test`(新加坡|坡|狮城|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇰🇷 韩国节点`url-test`(KR|Korea|KOR|首尔|韩|韓)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
86
tools/subconverter/config/ACL4SSR_Online_Full_Google.ini
Normal file
86
tools/subconverter/config/ACL4SSR_Online_Full_Google.ini
Normal file
@ -0,0 +1,86 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=📢 谷歌🇨🇳Play下载,[]DOMAIN-SUFFIX,xn--ngstr-lra8j.com
|
||||
ruleset=📢 谷歌🇨🇳Play服务,[]DOMAIN-SUFFIX,services.googleapis.cn
|
||||
ruleset=📢 谷歌🇨🇳Play服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCNProxyIP.list
|
||||
ruleset=📢 谷歌🇨🇳,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCN.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=📢 谷歌,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Google.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌🇨🇳Play下载`select`[]🚀 节点选择`[]DIRECT`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌🇨🇳Play服务`select`[]🚀 节点选择`[]DIRECT`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌🇨🇳`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌`select`[]🚀 节点选择`[]DIRECT`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]♻️ 自动选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
custom_proxy_group=🇨🇳 台湾节点`url-test`(台|新北|彰化|TW|Taiwan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇸🇬 狮城节点`url-test`(新加坡|坡|狮城|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇰🇷 韩国节点`url-test`(KR|Korea|KOR|首尔|韩|韓)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
80
tools/subconverter/config/ACL4SSR_Online_Full_MultiMode.ini
Normal file
80
tools/subconverter/config/ACL4SSR_Online_Full_MultiMode.ini
Normal file
@ -0,0 +1,80 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔮 负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]♻️ 自动选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
custom_proxy_group=🇨🇳 台湾节点`url-test`(台|新北|彰化|TW|Taiwan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇸🇬 狮城节点`url-test`(新加坡|坡|狮城|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇰🇷 韩国节点`url-test`(KR|Korea|KOR|首尔|韩|韓)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
81
tools/subconverter/config/ACL4SSR_Online_Full_Netflix.ini
Normal file
81
tools/subconverter/config/ACL4SSR_Online_Full_Netflix.ini
Normal file
@ -0,0 +1,81 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/AmazonIp.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔮 负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]♻️ 自动选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]♻️ 自动选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
custom_proxy_group=🇨🇳 台湾节点`url-test`(台|新北|彰化|TW|Taiwan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇸🇬 狮城节点`url-test`(新加坡|坡|狮城|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇰🇷 韩国节点`url-test`(KR|Korea|KOR|首尔|韩|韓)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
77
tools/subconverter/config/ACL4SSR_Online_Full_NoAuto.ini
Normal file
77
tools/subconverter/config/ACL4SSR_Online_Full_NoAuto.ini
Normal file
@ -0,0 +1,77 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:支持
|
||||
;苹果分流:支持
|
||||
;增强中国IP段:支持
|
||||
;增强国外GFW:支持
|
||||
|
||||
;设置规则标志位
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 广告拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🍃 应用净化,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=📢 谷歌FCM,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=Ⓜ️ 微软云盘,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list
|
||||
ruleset=Ⓜ️ 微软服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list
|
||||
ruleset=🍎 苹果服务,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list
|
||||
ruleset=📲 电报消息,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🎶 网易音乐,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list
|
||||
ruleset=🎮 游戏平台,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list
|
||||
ruleset=📹 油管视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list
|
||||
ruleset=🎥 奈飞视频,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list
|
||||
ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list
|
||||
ruleset=📺 哔哩哔哩,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list
|
||||
ruleset=🌏 国内媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
|
||||
ruleset=🌍 国外媒体,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list
|
||||
;ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
;设置规则标志位
|
||||
|
||||
;设置分组标志位
|
||||
custom_proxy_group=🚀 节点选择`select`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=📲 电报消息`select`[]🚀 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📹 油管视频`select`[]🚀 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🎥 奈飞视频`select`[]🎥 奈飞节点`[]🚀 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🚀 节点选择`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=📺 哔哩哔哩`select`[]🎯 全球直连`[]🇨🇳 台湾节点`[]🇭🇰 香港节点
|
||||
custom_proxy_group=🌍 国外媒体`select`[]🚀 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🌏 国内媒体`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🚀 手动切换
|
||||
custom_proxy_group=📢 谷歌FCM`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软云盘`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎮 游戏平台`select`[]DIRECT`[]🚀 节点选择`[]🇺🇲 美国节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🎶 网易音乐`select`[]DIRECT`[]🚀 节点选择`(网易|音乐|解锁|Music|NetEase)
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 广告拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🍃 应用净化`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🇰🇷 韩国节点`[]🚀 手动切换
|
||||
custom_proxy_group=🇭🇰 香港节点`select`(港|HK|Hong Kong)
|
||||
custom_proxy_group=🇯🇵 日本节点`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)
|
||||
custom_proxy_group=🇺🇲 美国节点`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)
|
||||
custom_proxy_group=🇸🇬 狮城节点`select`(新加坡|坡|狮城|SG|Singapore)
|
||||
custom_proxy_group=🇨🇳 台湾节点`select`(台|新北|彰化|TW|Taiwan)
|
||||
custom_proxy_group=🇰🇷 韩国节点`select`(KR|Korea|KOR|首尔|韩|韓)
|
||||
custom_proxy_group=🎥 奈飞节点`select`(NF|奈飞|解锁|Netflix|NETFLIX|Media)
|
||||
;设置分组标志位
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
||||
|
||||
;clash_rule_base=https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GeneralClashConfig.yml
|
||||
|
||||
;luck
|
32
tools/subconverter/config/ACL4SSR_Online_Mini.ini
Normal file
32
tools/subconverter/config/ACL4SSR_Online_Mini.ini
Normal file
@ -0,0 +1,32 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
@ -0,0 +1,33 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyListChina.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
33
tools/subconverter/config/ACL4SSR_Online_Mini_Fallback.ini
Normal file
33
tools/subconverter/config/ACL4SSR_Online_Mini_Fallback.ini
Normal file
@ -0,0 +1,33 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`[]🔯 故障转移`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
@ -0,0 +1,36 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🇭🇰 香港节点`[]🇺🇲 美国节点`[]🇯🇵 日本节点`[]🚀 手动切换`[]DIRECT
|
||||
custom_proxy_group=🚀 手动切换`select`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`.*
|
||||
custom_proxy_group=🇭🇰 香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇯🇵 日本节点`url-test`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🇺🇲 美国节点`url-test`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)`http://www.gstatic.com/generate_204`300,,150
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
34
tools/subconverter/config/ACL4SSR_Online_Mini_MultiMode.ini
Normal file
34
tools/subconverter/config/ACL4SSR_Online_Mini_MultiMode.ini
Normal file
@ -0,0 +1,34 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`[]DIRECT`.*
|
||||
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
|
||||
custom_proxy_group=🔯 故障转移`fallback`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🔮 负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`180
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择`[]♻️ 自动选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`[]♻️ 自动选择`[]🔯 故障转移`[]🔮 负载均衡`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
31
tools/subconverter/config/ACL4SSR_Online_Mini_NoAuto.ini
Normal file
31
tools/subconverter/config/ACL4SSR_Online_Mini_NoAuto.ini
Normal file
@ -0,0 +1,31 @@
|
||||
[custom]
|
||||
;不要随意改变关键字,否则会导致出错
|
||||
;acl4SSR规则-在线版
|
||||
|
||||
;去广告:支持
|
||||
;自动测速:不支持
|
||||
;微软分流:不支持
|
||||
;苹果分流:不支持
|
||||
;增强中国IP段:不支持
|
||||
;增强国外GFW:不支持
|
||||
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
|
||||
ruleset=🛑 全球拦截,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Telegram.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list
|
||||
ruleset=🚀 节点选择,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
|
||||
ruleset=🎯 全球直连,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
|
||||
ruleset=🎯 全球直连,[]GEOIP,CN
|
||||
ruleset=🐟 漏网之鱼,[]FINAL
|
||||
|
||||
custom_proxy_group=🚀 节点选择`select`[]DIRECT`.*
|
||||
custom_proxy_group=🎯 全球直连`select`[]DIRECT`[]🚀 节点选择
|
||||
custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]DIRECT
|
||||
custom_proxy_group=🐟 漏网之鱼`select`[]🚀 节点选择`[]🎯 全球直连`.*
|
||||
|
||||
enable_rule_generator=true
|
||||
overwrite_original_rules=true
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user