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
Upstream failback #208
Comments
that's not part of the functionality of tinyproxy. i also don't think it makes sense to implement it inside tinyproxy, it would make more sense as a standalone tool like "fallback-portredir", but i don't know if that exists yet. it would be relatively easy to implement though. |
Ah! Ok, then.
That's what I think. In fact, I don't understand why tinyproxy doesn't have this functionality. Thank you! |
|
Hi @rofl0r , Sorry! I don't like to be rude. I hope someone will try to include some enhancement targeting this. |
it will fail, and that's exactly what i'd expect. now, since you used the term "round-robin" this reminded me that proxychains-ng does have a round-robin mode. so you could theoretically use that to achieve your desired effect. |
to be precise i mean |
Hi, Any other idea to provide some "redundancy" for the upstream proxy? My objective is quite simple: Two different upstream proxies, master and slave. And use only slave when master fails. That's all! Regards. |
did you read my response above that you downvoted ?
you can use proxychains-ng with round-robin mode. that means you run |
Sure! But I can't use "proxychains4" as it's a preloader and I can't use it in my environment. Futhermore, I use tinyproxy with HTTP authentication for the upstream proxy. So, I can't use another tunneller without HTTP authentication support. |
proxychains-ng supports basic authentication. why exactly "can't" you use it in your environment ? |
Because in my embedded system the preloading function is forbidden! Futhermore, if I use |
https://github.com/rofl0r/rrredir use that to redirect a local port to your proxies, and use the local ip:port as upstream proxy address in tinyproxy (or directly in the browser's proxy settings). e.g. only disadvantage of this approach: both destination proxies require the same credentials. |
Thank you @rofl0r ! |
great. let me know if there are any issues with it. |
Hi,
I'm asking because I don't see the answer.
I have two different upstream HTTP proxies. One uses an unlimited connection, the other uses a metered connection. So, I like to use the first one... except when it is unavaliable.
How I can configure tinyproxy to support this environment?
Thank you!
The text was updated successfully, but these errors were encountered: