clash_for_windows_pkg icon indicating copy to clipboard operation
clash_for_windows_pkg copied to clipboard

[Feature Request]: 应用程序主动连接到7890端口后 能否全局代理

Open threerog opened this issue 2 years ago • 4 comments

功能描述

例如A.exe程序里设置了127.0.0.1:7890 主动代理到clash 但是由于A.exe是国内工具型软件,clash就自动直连了,并没有走代理网络

我认为正确的模式不应该是针对7890进行全局代理吗 我都主动连接7890端口了 目的肯定是全局代理呀。

其他内容

No response

threerog avatar Aug 05 '22 06:08 threerog

连入 7890 ,被 clash 接管,具体代理还是直连,看你选择的模式和规则。

如果你 clash 选 global ,而且选择代理,则连入 7890 都被代理。

如果你 clash 选 rule ,而且规则里配置了软件走代理,才会被代理。

yi-Xu-0100 avatar Aug 05 '22 07:08 yi-Xu-0100

是需要 clash 提供多个代理端口并且针对代理端口配置策略吧,这个是需要 clash core 去实现的功能,而 cfw 只是一个破界面

AkariiinMKII avatar Aug 05 '22 07:08 AkariiinMKII

也不一定需要多端口多策略 只需要一个选项支持配置端口是走全局代理还是rule,目的就是端口全局代理 而系统其他程序还是走clash策略

threerog avatar Aug 05 '22 08:08 threerog

@threerog 那基本上就是需要 AkariiinMKII 提到的功能了,因为系统代理也只是将系统代理设置为这个端口。所以这种选项需要 core 的支持。

core issue: https://github.com/Dreamacro/clash/issues

yi-Xu-0100 avatar Aug 05 '22 09:08 yi-Xu-0100

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Fndroid avatar Oct 05 '22 00:10 Fndroid