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

Need help with configuring sslocal via docker.

Open gurustron opened this issue 1 year ago • 5 comments
trafficstars

I want to use sslocal running in docker. I have started docker with config looking something like:

{
  "servers": [
    {
      "address":"server_ip",
      "port":server_port,
      "password":"server_pass",
      "method":"server_method",
      "timeout":60
    }
  ],
  "locals": [
    {
      "local_port": 1080,
      "local_address": "127.0.0.1"
    },
    {
      "protocol": "http",
      "local_address": "127.0.0.1",
      "local_port": 1081
    }
  ]
}

And mapped ports 1080 and 1081 to the host ones. When using http proxy inside the container it works (with 1081 port), but using proxy outside the container (with the host port) - request fails. Host OS - Windows.

gurustron avatar Sep 07 '24 20:09 gurustron