Clash: Support shadowsocks behind http proxy or other proxy, make proxy could be joined into a chain

Created on 9 Nov 2018  ·  11Comments  ·  Source: Dreamacro/clash

My company urge us connect to outside network behind a http proxy.
Could clash support proxy chain which would let shadowsocks send its TCP connect through a http proxy.

enhancement

Most helpful comment

you want this?

client -> socks -> shadowsocks -> http proxy 

All 11 comments

you can use clash and proxifier .

clash -> proxifier -> http proxy

I'd consider HTTPS inbound proxy after the implement of DNS server and client.

My company urge us connect to outside network behind a http proxy.
Could clash support proxy chain which would let shadowsocks send its TCP connect through a http proxy.

You might want to try proxychains to work around.

My company urge us connect to outside network behind a http proxy.
Could clash support proxy chain which would let shadowsocks send its TCP connect through a http proxy.

You might want to try proxychains to work around.

Tks, proxychains could be way to work through, but this would make the connection setting more complex.

closed #52

I mean, clash has a built-in shadowsocks support. What I need is that the clash's built-in shadowsocks could send its TCP package through a HTTP proxy. This would just like what
a proxychains has already do.

@Dreamacro

@syhily
In 0.10.x, clash is already supported HTTP CONNECT proxy, which could send TCP package through the HTTP proxy.

you want this?

client -> socks -> shadowsocks -> http proxy 

you want this?

client -> socks -> shadowsocks -> http proxy 

Yeah.

Can someone help me with client -> socks -> shadowsocks -> http proxy? I live in Iran, and the gov has enacted a super Draconian firewall recently which blocks almost all connections. I have access to a http proxy (not my server) that enables me to escape the new firewall, but the old firewall (which is still quite aggressive) is still there. I want to be able to connect to my shadowsocks server (which is located in UK and is accessible from the said http proxy.).

If someone has any ideas on how I can ssh via this http proxy, that works, too. I tried ssh ... -o 'ProxyCommand /usr/local/bin/corkscrew proxy_ip 80 %h %p ~/.auth' but it failed with Proxy could not open connnection to %h: Proxy Authentication Required.

@NightMachinary if your http proxy is CONNECT method, you can use http proxy client in clash. And set ProxyCommand nc -X 5 -x 127.0.0.1:clashSocksPort %h %p to your ssh config.

Was this page helpful?
0 / 5 - 0 ratings