Can I connect by using double/nested proxy?

0

Suppose that I want to connect to internet through proxy server A. If I am in a network where connection to external network should go through proxy server B, is it possible to do this? Is there any way to use nested/double proxy like this?

my computer --> proxy B --> proxy A --> internet

Edit

I have no control either to proxy A or proxy B, can only control my computer.

fikr4n

Posted 2016-01-11T08:24:40.347

Reputation: 101

Yes, it's how the Tor network essentially works. Setting up something like this, however, is another story and will depend on a lot of different factors.

– txtechhelp – 2016-01-11T08:37:44.220

Answers

1

For SOCKS this is fairly straightforward if you know where all the proxies are, you just ask each one to connect to the next.

For HTTP, to specify an upstream proxy, you'd need to use the CONNECT method to get the proxy to connect to the next proxy.

Adrien

Posted 2016-01-11T08:24:40.347

Reputation: 1 107

Any applicable example (command line, Firefox config, etc) please? – fikr4n – 2016-07-20T04:09:02.293

sorry, I thought you were doing this in code. Browsers don't support this. You'd need to use something like proxifier which I believe can support nested proxies. – Adrien – 2016-07-20T04:11:50.173

1

yes it can see https://www.proxifier.com/documentation/v3/chain.htm

– Adrien – 2016-07-20T04:13:40.453

Nice info, I found also proxychain (have not try yet) for Linux – fikr4n – 2016-07-20T06:11:27.383