titanium-web-proxy icon indicating copy to clipboard operation
titanium-web-proxy copied to clipboard

Whether to support multi-level proxy

Open xLabel opened this issue 5 years ago • 7 comments

Hello, the existing socks5 proxy server, would you like to inquire whether it supports the following network architecture?

like this :

pc browser -> Titanium.Web.Proxy -> socks5 server -> internet

xLabel avatar Dec 17 '19 13:12 xLabel

I think socks5 proxy is no supported by TWP, yet. See #102

But it should work with normal HTTP(S) proxy: pc browser -> Titanium.Web.Proxy -> upstream proxy server -> internet

honfika avatar Dec 17 '19 22:12 honfika

If the machine running TWP is connected to a socks proxy then yes you can connect to TWP then have TWP use the local socks connection. As pointed out TWP does not support socks directly so you would need the socks client setup on the TWP machine first.

ByronAP avatar Dec 24 '19 00:12 ByronAP

socks4/5 support added in the latest beta

honfika avatar Dec 24 '19 18:12 honfika

ooohhhhh really any special config needed? example?

ByronAP avatar Dec 24 '19 21:12 ByronAP

proxyServer.UpStreamHttpProxy = new ExternalProxy("46.63.0.17", 4145) { ProxyType = ExternalProxyType.Socks4 }; proxyServer.UpStreamHttpsProxy = new ExternalProxy("46.63.0.17", 4145) { ProxyType = ExternalProxyType.Socks4 };

Socks5 is also supproted.

honfika avatar Dec 24 '19 22:12 honfika

This is only the upstream proxy, as @xLabel wrote... I'm also adding a SocksEndpoint....

Update: SocksEndpoint added

honfika avatar Dec 24 '19 22:12 honfika

:+1: excellent @honfika

xLabel avatar Dec 25 '19 02:12 xLabel