Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否根据不同端口调用不同的二级代理? #162

Closed
xiozf opened this issue Jul 11, 2014 · 2 comments
Closed

可否根据不同端口调用不同的二级代理? #162

xiozf opened this issue Jul 11, 2014 · 2 comments

Comments

@xiozf
Copy link

xiozf commented Jul 11, 2014

很好用的软件,特别是在树莓派上。在局域网里搭建了一个cow分享给几个人用,看了下rc里的简洁,可以监听多窗口,也能负载平衡,但是没有根据端口走不同代理的配置说明。再安装privoxy等倒是可以,但是cow能集成更方便啊,少装一个app。
可否考虑下?

@menghan
Copy link

menghan commented Jul 14, 2014

我有一个类似的需求,希望能提供一个端口,该端口只走某个设定的代理

@cyfdecyf
Copy link
Owner

目前不打算实现,最近业余时间有限,要先修 bug 发布新版。如果有人实现的话我可以 merge 进来。

配置语法上为以后能扩展要做成命名参数的形式,例如:

proxy = ss://aes-128-cfb:xxxx@1.2.3.4:5678 name=ss1
proxy = http://aes-128-cfb:xxxx@1.2.3.4:5678 name=http2

listen = http://127.0.0.1:7777 parent=ss1,http2 alwaysProxy=true

一个目前可用的替代是用两个配置文件,每个监听不同的端口、配置不同的二级代理,然后启动两个 cow 进程。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants