52 lines
792 B
Markdown
52 lines
792 B
Markdown
# Clash(网络代理工具)
|
|
|
|
目前使用的 [Mutdot 工具](https://user.mutdot.com/sec.html)
|
|
|
|
## windows
|
|
直接下载安装即可
|
|
|
|
## Linux
|
|
使用 [clash-for-linux-install](https://github.com/nelvko/clash-for-linux-install)
|
|
|
|
直接参考官网流程即可。
|
|
|
|
如果显示订阅无效的话,则手动导入订阅文件
|
|
|
|
将订阅文件内容放到 `/root/clashctl/resources/config.yaml` 文件中
|
|
``` bash
|
|
clashsub add "file:///root/clashctl/resources/config.yaml"
|
|
```
|
|
|
|
然后使用这个订阅连接
|
|
```bash
|
|
# 查看当前的订阅列表
|
|
clashsub ls
|
|
|
|
# 使用订阅连接
|
|
clashsub use 1
|
|
```
|
|
|
|
开启代理
|
|
```bash
|
|
clashon
|
|
```
|
|
|
|
关闭代理
|
|
```bash
|
|
clashoff
|
|
```
|
|
|
|
在线 UI 页面
|
|
```bash
|
|
clashui
|
|
```
|
|
|
|
获取密码
|
|
```bash
|
|
clashsecret
|
|
```
|
|
|
|
更新密码
|
|
```bash
|
|
clashsecret mysecret
|
|
``` |