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

[Feature request] endpoint for proxy chain #196

Open
rampageX opened this issue Nov 21, 2020 · 2 comments
Open

[Feature request] endpoint for proxy chain #196

rampageX opened this issue Nov 21, 2020 · 2 comments

Comments

@rampageX
Copy link

It's always face a problem when use the Circumvention Service Provider's servers to browser site like google, youtube:The reCAPTCHA page often appears.

2020-11-21_211511

Use a proxy build on private VPS as proxy chain's last proxy will avoid this situation. However, we assume that 10 servers are used for load balancing, and the configuration file is like this:

forward=proxy1,proxy-vps
forward=proxy2,proxy-vps
forward=proxy3,proxy-vps
...
forward=proxy8,proxy-vps
forward=proxy9,proxy-vps
forward=proxy10,proxy-vps

Well, if proxy is ssr or vmess, the configuration line is very long and hard to read...

How about add a endpoint parameter, then the configuration file will like this:

forward=proxy1
forward=proxy2
forward=proxy3
...
forward=proxy8
forward=proxy9
forward=proxy10

endpoint=proxy-vps

Similarly, in a corporate environment,maybe a beginpoint (the first proxy in the proxy chain) can make the configuration file simple too.

@nadoo
Copy link
Owner

nadoo commented Dec 2, 2020

Hi @rampageX , it's easy to implement, but I'm afraid it will increase the complexity of configuration and confuse users.

I was also thinking about other similar scenarios like:

forward=tls://host1.com,http://user:pass@
forward=tls://host2.com,http://user:pass@
forward=tls://host3.com,http://user:pass@

the only difference is the hostname, so it will help if we use a new scheme like:

forwardgroup=tls://{HOST},http://user:pass@#HOST=host1.com,host2.com,host3.com

in your situation, it will be:

forwardgroup={BEGINPOINT},{PROXY},{ENDPOINT}#BEGINPOINT=xxx&ENDPOINT=yyy&PROXY=host1.com,host2.com,host3.com

but if the PROXY contains ,, it will be hard to parse.

let's keep this issue open to see whether we can find a better design to achieve it.

@github-actions
Copy link

github-actions bot commented Mar 3, 2021

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

@github-actions github-actions bot added the Stale label Mar 3, 2021
@github-actions github-actions bot closed this as completed Mar 8, 2021
@nadoo nadoo reopened this Mar 8, 2021
@nadoo nadoo removed the Stale label Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants