-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
system proxy support #45
Comments
Do you mean in your corp network you have to use the HTTP proxy at 192.168.1.100:80 to access Internet? |
yes, all right. |
Seems Windows system proxy only supports HTTP protocol, while Shadowsocks speaks SOCKS protocol. In which case this issue is a duplicate of #27. |
I don't think this issue is duplicate of #27 , #27 is about go-ss2 act as a httpproxy, but this issue is about go-ss2 client how to use a httpproxy to connect with ss server. I can use proxychains to let ss client connect with ss server through httpproxy, for example, on ubuntu bionic: sudo su
apt install proxychains shadowsocks
cat << EOF > /etc/proxychains.conf
[ProxyList]
http 192.168.1.100 80
EOF
proxychains sslocal -b 127.0.0.1 -l 1080 -s 192.241.199.18 -p 12554 -k "ss8.pm-31958873" then, i can set my browser use 127.0.0.1:1080 as a socks5 proxy, and sslocal connect ssserver 192.241.199.18:12554 through the httpproxy 192.168.1.100:80. This method is not working with go-ss2, but sslocal is ok. |
Because i am in a corporation network, i run shadowsocks with
HTTP_PROXY=192.168.1.100:80 go-shadowsocks2 -verbose -socks :1081 -c server:port -cipher aes-256-cfb -password xxxxxx
, but the system proxyHTTP_PROXY=192.168.1.100:80
not work. Hope shadowsocks can support system proxy.The text was updated successfully, but these errors were encountered: