mirror of
https://github.com/chenx-dust/EZ4Connect.git
synced 2026-09-20 02:13:32 +08:00
feat: update advanced usage (#7)
This commit is contained in:
@@ -2,9 +2,28 @@
|
||||
|
||||
## Clash / Mihomo 分流配置
|
||||
|
||||
**现在软件已支持由 EZ4Connect 分流至其他代理软件,在设置中“直连代理”即可设置。**
|
||||
若需要使用 Clash、Mihomo 等其他代理软件与本软件配合分流,可以采用以下两种方式之一:
|
||||
|
||||
若需要使用 Clash / Mihomo 等其他代理软件,可以清空本软件的系统代理,在 “功能”-“设置”-“高级” 页面中设置 SOCK5 的代理端口(以下以 11080 为例)。以下为推荐配置:
|
||||
1. **本软件作为主代理**:开启本软件的系统代理功能,将本软件认为不需要代理的流量通过“直连代理”转发给 Clash 或 Mihomo。
|
||||
2. **Clash/Mihomo 作为主代理**:关闭本软件的系统代理功能,将需要本软件代理的流量转发到本软件。
|
||||
|
||||
以下是具体操作流程:
|
||||
|
||||
### 方式一:本软件作为主代理
|
||||
|
||||
- 在“功能”-“设置”-“核心” 页面中设置“直连代理”为 Clash 等软件监听的端口(以 7890 为例 http://127.0.0.1:7890);
|
||||
- 注意勾选“允许外部访问”;
|
||||
- 开启本软件的系统代理;
|
||||
- 启动 Clash 时不需要打开系统代理或 TUN,即可正确转发流量。
|
||||
|
||||
<div align="center">
|
||||
<img src="proxy_setting.png" width="600px">
|
||||
</div>
|
||||
|
||||
### 方式二:Clash 作为主代理
|
||||
|
||||
- 清空本软件的系统代理;
|
||||
- 在 “功能”-“设置”-“核心” 页面中设置 SOCK5 的代理端口(以 11080 为例),以下为推荐配置:
|
||||
|
||||
在 Clash 的代理配置中添加一个代理服务器:
|
||||
|
||||
@@ -41,7 +60,9 @@ rules:
|
||||
|
||||
这样即可通过简单的切换实现在校外使用本项目时选择 EZ4Connect 代理,在校内使用 DIRECT 直连。
|
||||
|
||||

|
||||
<div align="center">
|
||||
<img src="proxy_group.png" width="600px">
|
||||
</div>
|
||||
|
||||
## TUN 模式
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 27 KiB |
BIN
docs/proxy_setting.png
Normal file
BIN
docs/proxy_setting.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Reference in New Issue
Block a user