shadowsocks-libev icon indicating copy to clipboard operation
shadowsocks-libev copied to clipboard

How to run ss-local in Docker, but reach from host ?

Open zkghost opened this issue 4 years ago • 0 comments

I am trying to run ss-local inside of a Docker container, and have my browser on my host OS use the local proxy address running in docker. So something like:

docker run -p 127:0:0:1:1081:1080 ss-local-container 
google-chrome --proxy-server="socks5://127.0.0.1:1081" 

but it always fails.

Am I doing something wrong, or is there network-level / iptables stuff I will have to configure for the routing to work?

zkghost avatar May 10 '21 22:05 zkghost